StartInstantMessagingButton control
Learn about the properties of the Microsoft Lync 2013 StartInstantMessagingButton control.
Applies to: Lync 2013 | Lync Server 2013
In this article |
Control overview
Use the StartInstantMessagingButton control in Microsoft Lync Control applications to enable the user to open a Microsoft Lync 2013 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 and events relating to unified communications appear in the following table. For information about other properties and events, see Lync 2013 class libraries reference.
Property |
Description |
---|---|
DisplayName property |
Gets the display name of the currently signed-in user. |
Source property |
Gets or sets the contact to use. Valid types include the Contact object, DistributionGroup object, and String.
|
ContextualInformation property |
Gets or sets a data structure that contains information used to customize the information that accompanies messages. For more information about the use of contextual information, see Contextual Lync conversations. |
Model property |
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>