Use the
The control is designed to mimic the functionality provided by the corresponding button on the Quick Connect toolbar of the ContactCard. As such, it must be bound to a contact using the Source property before it can be used. When clicked, it starts Outlook and initiates the desired action with that contact. This button is not a general purpose Outlook Integration tool. It is intended to be used together with other Lync Controls to provide a full set of collaboration options for interacting with a specific contact or distribution group. Despite the fact that no Microsoft Lync 2010 functionality is actually used here, this control leverages the binding model of the other Lync Controls to provide the full scope of features accessible on the ContactCard quick-connect toolbar.
Members
Notable SendEmailButton control public properties and events relating to unified communications appear in the following table. For a full list, see topics in the Lync 2010 API Class Library documentation.
Property or Event |
Description |
---|---|
|
Gets the display name of the currently logged in user. |
|
Gets or sets the contact to use. Valid types include
|
|
Gets or sets the subject string for the message. |
|
This property is ignored. Gets or sets a data structure which contains information used to customize the information that accompanies messages. For more information on the use of contextual information, see the topics listed at Contextual Conversations . |
Model property |
Reserved for internal use. This property may appear in XAML text when editing templates. To preserve control functionality it should remain unchanged. |
Code Examples
The following example can be used for Microsoft Silverlight and Microsoft Windows Presentation Foundation (WPF) application development.
Copy Code | |
---|---|
<StackPanel> <controls:SendEmailButton Source="sip:elise@contoso.com"/> </StackPanel> |