ContactCard Control
Use the ContactCard control in Microsoft Lync 2010 Control applications 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 message sessions, voice calls, file transfers, application sharing sessions, or conference calls.
Members
Notable ContactCard 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 logged in user. |
|
Gets or sets the index of the tab item to display when the Contact Card is expanded. |
|
Gets Expander Button visibility state. |
|
Gets or sets a data structure which contains information used to customize the information that accompanies messages. For more information on the use of contextual information, see the topics listed at Contextual Conversations. |
|
Gets or sets the contact to display. Valid types include Contact and DistributionGroup objects, and String.
|
|
Gets or sets a bool value which indicates whether or not the details section of the ContactCard control is expanded. |
Code Example
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>