Dela via


ContactSearch Class

ContactSearch combines the functionality of the ContactSearchInputBox and ContactSearchResultList controls into a single, self contained control.

Inheritance Hierarchy

System.Object
  System.Windows.DependencyObject
    System.Windows.UIElement
      System.Windows.FrameworkElement
        System.Windows.Controls.Control
          Microsoft.Lync.Controls.ContactSearch

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

Syntax

'Declaration
<TemplatePartAttribute(Name := "ContactSearchInputBox", Type := GetType(ContactSearchInputBox))> _
Public Class ContactSearch _
    Inherits Control
'Usage
Dim instance As ContactSearch
[TemplatePartAttribute(Name = "ContactSearchInputBox", Type = typeof(ContactSearchInputBox))]
public class ContactSearch : Control

Remarks

To display search results and search input in separate locations on a page, use the ContactSearchInputBox and ContactSearchResultList controls as separate controls. The ContactSearch control provides an input box for searching for contacts by name or keyword, and a result list for displaying the set of contacts which were found.

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

ContactSearch Members

Microsoft.Lync.Controls Namespace