StartInstantMessagingButton Control
Use the StartInstantMessagingButton control in Microsoft Lync 2010 Control applications to enable the user to open a Microsoft Lync 2010 conversation window and start an IM conversation between the user who activated the control, and another user specified by the Source property. The control can also start an IM conversation with a distribution group.
Members
Notable StartInstantMessagingButton control public properties that are related to unified communications appear in the following table. For more information, see Lync 2010 Class Libraries References.
Property |
Description |
---|---|
Gets the display name of the currently signed-in user. |
|
Gets or sets the contact to use. Valid types include Contact and DistributionGroup objects, and String.
|
|
Gets or sets a data structure which contains information used to customize the information that accompanies messages. For more information about the use of contextual information, see Lync Extensibility API Contextual Conversations (Lync 2010 SDK). |
|
Reserved for internal use. This property may appear in XAML text when editing templates. To preserve control functionality it should remain static. |
Code Example
The following example can be used for Microsoft Silverlight and Microsoft Windows Presentation Foundation (WPF) application development.
<StackPanel>
<controls:StartInstantMessagingButton Source="sip:elise@contoso.com" />
</StackPanel>