ContactCard control
Learn about the properties of the Microsoft Lync 2013 ContactCard control.
Applies to: Lync 2013
In this article |
Use the ContactCard control to show basic or detailed contact and organization information for contacts. This control displays presence and availability of colleagues and gives users the ability to start instant messaging sessions, voice calls, file transfers, application sharing sessions, or conference calls.
Notable ContactCard 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. |
SelectedTabIndex property |
Gets or sets the index of the tab item to display when the Contact Card is expanded. |
ExpanderVisibility property |
Gets the Expander Button visibility state. |
ContextualInformation property |
Gets or sets a data structure that contains information used to customize the information that accompanies messages. For more information about using contextual information, see Contextual Lync conversations. |
Source property |
Gets or sets the contact to display. Valid types include the Contact object, DistributionGroup object, and String.
|
IsExpanded property |
Gets or sets a bool value, which indicates whether or not the details section of the ContactCard control is expanded. |
The following example can be used for Microsoft Silverlight and Microsoft Windows Presentation Foundation (WPF) application development.
<StackPanel>
<controls:ContactCard Source="sip:elise@contoso.com" />
</StackPanel>