The
Quick Connect Menu
The control reacts to two user actions: hover and click. When a user hovers over the icon, after about one second the quick connect menu appears. The quick connect menu displays the contact's presence, starts IM, e-mail, or audio calls, and can be expanded to show detailed contact information. The quick connect menu disappears if it is not used. The user can keep the quick connect menu open by pinning it.
Members
Notable PresenceIndicator control public properties and events relating to unified communications appear in the following table. For a full list, see Lync 2010 API Class Library documentation.
Property or Event |
Description |
---|---|
|
Gets or sets the contact to display. Valid types include
|
|
Gets the presence status string for the contact. For example, In a meetingor Away. For groups this is an empty string. |
|
Gets the contact's display name. |
|
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 Contextual Conversations . |
|
Reserved for internal use. When editing templates, this property may appear in XAML text. To preserve control functionality it should remain static. |
AvailabilityState property |
Gets an enumerated value that represents the contact's availability. The type is a ContactAvailability enumeration. Possible values:
|
|
Gets or sets an enumeration value that determines the contact card display mode when the cursor hovers over the presence icon. The default is ShowContactBrief. |
|
Gets or sets an enumeration value that determines the contact card display mode after the presence icon is clicked. The default is ShowContactDetails. |
PhotoDisplayMode property |
Gets or sets an enumeration value that determines the presence photo display mode. The default is Hidden. |
Code Example
Sample code for Microsoft Silverlight and Microsoft Windows Presentation Foundation (WPF) appears in the following section.
Copy Code | |
---|---|
<StackPanel> <controls:PresenceIndicator Source="sip:mary@contoso.com"/> </StackPanel> |