Use the ContactSearchInputBoxcontrol to enable users to search their organization for people based on name, phone number, or skill.

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

Syntax

C#
[
TemplateVisualStateAttribute(Name ="SearchInUse", GroupName = "SearchInUseStates")]
[
TemplatePartAttribute(Name ="PART_ClearButton", Type = 
typeof(
Button))]
[
TemplatePartAttribute(Name = "PART_SearchHint",
Type = 
typeof(
ContentControl))]
[
TemplateVisualStateAttribute(Name ="SearchNotInUse", GroupName = "SearchInUseStates")]
[
TemplatePartAttribute(Name = "PART_TextSearch",
Type = 
typeof(
TextBox))]
public 
class 
ContactSearchInputBox : 
UCBase

Remarks

The ContactSearchInputBoxcontrol displays a text box where users enter a search string. The search is executed automatically, one second after the search text is changed, or explicitly when the user presses Enter in the ContactSearchInputBox. Once a search is complete, the results appear in a ContactSearchResultListcontrol. The ContactSearchResultListcontrol provides an input box for searching for contacts by name or keyword.

The ContactSearchInputBoxand ContactSearchResultListcontrols, while related, are designed as separate controls to allow the developer to display search results and search input in separate locations on a page. Use the ContactSearchcontrol in Lync Control applications to display the ContactSearchInputBoxand ContactSearchResultListcontrols together in the same location on a page.

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
               Microsoft.Lync.Controls . . :: . . UCBase
                 Microsoft.Lync.Controls . . :: . . ContactSearchInputBox

See Also