MyPresenceChooser control
Learn about the properties of the Microsoft Lync 2013 MyPresenceChooser control.
Applies to: Lync 2013
In this article |
Control overview
Use the MyPresenceChooser control in Microsoft Lync Control applications to display and change the user’s current presence status selection. Clicking the control displays a list of presence status options, for example "Be Right Back." The user can change their presence status by selecting one of these options. The MyPresenceChooser control includes the ability to show and select custom presence states. This control can only be applied to the currently signed-in user and therefore does not have a Source property.
Members
Notable MyPresenceChooser control public properties and events relating to unified communications appear in the following table. For a full list, see Lync 2013 class libraries reference.
Property or event |
Description |
---|---|
DisplayName property |
Gets the display name of the currently logged-in user. |
AvailabilityState property |
Gets an enumerated value that represents the currently signed-in user’s availability. The type is a ContactAvailability enumeration. Possible values:
|
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 example
The following example can be used for Microsoft Silverlight and Microsoft Windows Presentation Foundation (WPF) application development.
<StackPanel>
<controls:MyPresenceChooser/>
</StackPanel>