Use the
CustomContactListItem is an item control, created for use with
the
Members
Notable CustomContactListItem control public properties relating to unified communications appear in the following table. For a full list, see topics in the Lync 2010 API Class Library documentation.
Property |
Description |
---|---|
|
Gets or sets the DataTemplate used to render a contact when the ContactLayoutView property is set to TwoLines mode. |
|
Gets or sets the DataTemplate used to render a telephone-only contact when the ContactLayoutView property is set to TwoLines mode. |
|
Gets or sets the DataTemplate used to render a DistributionGroup-type contact when the ContactLayoutView property is set to TwoLines mode. |
|
Gets or sets the DataTemplate used to render a bot-type contact when the ContactLayoutView property is set to TwoLines mode. |
|
Gets or sets the DataTemplate used to render a contact when the ContactLayoutView property is set to OneLine mode. |
|
Gets or sets the DataTemplate used to render a telephone-only contact when the ContactLayoutView property is set to OneLine mode. |
|
Gets or sets the DataTemplate used to render a DistributionGroup-type contact when the ContactLayoutView property is set to OneLine mode. |
|
Gets or sets the DataTemplate used to render bot-type contact when the ContactLayoutView property is set to OneLine mode. |
|
Gets or sets an enumerated value that toggles the display between Show Photos and Show Status Only. The default is Show Photos. |
|
Gets or sets whether contacts in the list are shown using their display names or their SIP URIs. |
|
Gets or sets the contact to display. Valid types include
|
Code Example
The following example can be used for Microsoft Silverlight and Microsoft Windows Presentation Foundation (WPF) application development.
Copy Code | |
---|---|
<controls:CustomContactList> <controls:CustomContactListItem Source="sip:mary@contoso.com"/> </controls:CustomContactList> |