Partager via


CustomContactList Class

Use the CustomContactsList control to provide an arbitrary and non-hierarchical display of contacts and groups for specific contexts.

Inheritance Hierarchy

System.Object
  System.Windows.DependencyObject
    System.Windows.UIElement
      System.Windows.FrameworkElement
        System.Windows.Controls.Control
          System.Windows.Controls.ItemsControl
            System.Windows.Controls.Primitives.Selector
              System.Windows.Controls.ListBox
                Microsoft.Lync.Controls.UCListBox
                  Microsoft.Lync.Controls.CustomContactList

Namespace:  Microsoft.Lync.Controls
Assembly:  Microsoft.Lync.Controls (in Microsoft.Lync.Controls.dll)

Syntax

'Declaration
Public Class CustomContactList _
    Inherits UCListBox
'Usage
Dim instance As CustomContactList
public class CustomContactList : UCListBox

Remarks

CustomContactsList is a subclass of ListBox which is optimized for use in the display of contact information. The CustomContactsList control can be used to specify a user-specified collection of contacts. Contacts are displayed using a UI template matching that which is used on the ContactList control. Unlike ContactList, this control permits the user to programmatically specify a list of contacts to display, and modify the display settings.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

CustomContactList Members

Microsoft.Lync.Controls Namespace