Share via


ContactSearchResultList class

Use the ContactSearchResultList control to display the result of a search performed by the ContactSearchInputBox control.

Inheritance hierarchy

System.Object
  System.Windows.Threading.DispatcherObject
    System.Windows.DependencyObject
      System.Windows.Media.Visual
        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.ContactSearchResultList
                        

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

Syntax

'Declaration
<TemplatePartAttribute(Name := "PART_TrySkillSearchButton", Type := GetType(ButtonBase))> _
<TemplatePartAttribute(Name := "ScrollViewer", Type := GetType(FrameworkElement))> _
Public Class ContactSearchResultList _
    Inherits UCListBox
'Usage
Dim instance As ContactSearchResultList
[TemplatePartAttribute(Name = "PART_TrySkillSearchButton", Type = typeof(ButtonBase))]
[TemplatePartAttribute(Name = "ScrollViewer", Type = typeof(FrameworkElement))]
public class ContactSearchResultList : UCListBox

Remarks

This control provides an result list for a contact search. To initiate a search, this control must be paired with a ContactSearchInputBox.

The ContactSearchInputBox and ContactSearchResultList controls, while related, are designed as separate controls to allow the developer to display search results and search input in separate locations on a page.

Alternatively, use the ContactSearch control, which encapsulates both features in a single, self contained control.

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

ContactSearchResultList members

Microsoft.Lync.Controls namespace

Inheritance hierarchy

System.Object
  System.Windows.Threading.DispatcherObject
    System.Windows.DependencyObject
      System.Windows.Media.Visual
        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.ContactSearchResultList