Partager via


ContactList Class

Use the ContactList control to display the Lync contacts list, and give users the ability to launch voice, instant messaging (IM), or e-mail conversations with any of their contacts.

Inheritance Hierarchy

System.Object
  System.Windows.DependencyObject
    System.Windows.UIElement
      System.Windows.FrameworkElement
        System.Windows.Controls.Control
          Microsoft.Lync.Controls.UCBase
            Microsoft.Lync.Controls.ContactList

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

Syntax

'Declaration
<TemplatePartAttribute(Name := "PART_TreeControl", Type := GetType(UCTreeView))> _
Public Class ContactList _
    Inherits UCBase
'Usage
Dim instance As ContactList
[TemplatePartAttribute(Name = "PART_TreeControl", Type = typeof(UCTreeView))]
public class ContactList : UCBase

Remarks

The control supports Group, Relationship, and Status views, in the same manner as Lync, and includes the option to switch between status only, and status with photo display modes. The ContactList control gives users the ability to copy, move, delete, multi-select and sort contacts, set status alerts, and manage privacy 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

ContactList Members

Microsoft.Lync.Controls Namespace