Use the
Members
Notable CustomContactList control public properties and events relating to unified communications appear in the following table. For a full list, see topics in the Lync 2010 API Class Library documentation.
Property or Event |
Description |
---|---|
|
Gets or sets an enumerated value that toggles the display between OneLine and TwoLines. OneLine is an abbreviated presentation, while TwoLines is a larger layout that includes a photo. The default is TwoLine. |
|
Gets or sets the DataTemplate used to render an Automaton, AutoAttendant, or Huntgroup contact when the ContactLayoutView property is set to TwoLines mode. For more information about presentity types, please refer to PresentityType elsewhere in the Microsoft Lync 2010 SDK documentation. |
|
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 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 bot item contact when the ContactLayoutView property is set to OneLine mode. |
|
Gets or sets the DataTemplate used to render a group item contact when the ContactLayoutView property is set to OneLine mode. |
|
Gets or sets the DataTemplate used to render a person item contact when the ContactLayoutView property is set to OneLine mode. |
|
Gets or sets the DataTemplate used to render a telephone item contact when the ContactLayoutView property is set to OneLine mode. |
|
Gets or sets a bool value which controls the display of friendly name strings in the list. When true, contacts will be displayed using their friendly names, such as "John Smith". When false, contacts will be displayed by URI, such as "joe@contoso.com". Gets or sets a Boolean value that specifies whether friendly names are displayed. The default is True . |
|
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 . |
Code Example
The following example can be used for Microsoft Silverlight and Microsoft Windows Presentation Foundation (WPF) application development.
Copy Code | |
---|---|
<StackPanel> <controls:CustomContactList Height="300" x:Name="_xamlCustomContactsList" ContactLayoutView="TwoLines"> <controls:CustomContactListItem Source="sip:elise@contoso.com"/> <controls:CustomContactListItem Source="sip:bob@contoso.com"/> <controls:CustomContactListItem Source="sip:mary@contoso.com"/> </controls:CustomContactList> </StackPanel> |