Прочетете на английски Редактиране

Споделяне чрез


ContactSearchResultList Class

Definition

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

C#
[System.Windows.TemplatePart(Name="PART_ContactListMenu", Type=typeof(Microsoft.Lync.Controls.Internal.ContactListMenu))]
[System.Windows.TemplatePart(Name="PART_TrySkillSearchButton", Type=typeof(System.Windows.Controls.Primitives.ButtonBase))]
[System.Windows.TemplatePart(Name="ScrollViewer", Type=typeof(System.Windows.FrameworkElement))]
public class ContactSearchResultList : Microsoft.Lync.Controls.UCListBox
Inheritance
ContactSearchResultList
Attributes

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.

Constructors

ContactSearchResultList()

Initializes the ContactSearchResultList class.

Fields

ResultsStateProperty

Identifies the ResultsState dependency property.

SearchTypeProperty

Identifies the SearchType dependency property.

Properties

BotItemTemplate

Gets or sets the DataTemplate used for Bot-type contacts in OneLine mode.

(Inherited from UCListBox)
ContextMenu

Reserved for internal use.

(Inherited from UCListBox)
ContextualInformation

Gets or sets data structure which provides contextual information for use with the contextual conversation feature.

(Inherited from UCListBox)
GroupItemTemplate

Gets or sets the DataTemplate used for Group-type contacts in OneLine mode.

(Inherited from UCListBox)
PersonItemTemplate

Gets or sets the DataTemplate used for Person-type contacts in OneLine mode.

(Inherited from UCListBox)
ResultsState

Gets or sets an enumerated value which represents the status of the current search operation.

SearchType

Gets or sets an enumerated value which determines the type of search to be performed by this control.

ShowFriendlyName

Gets or sets whether contacts in the list display friendly name or URI.

(Inherited from UCListBox)
TelephoneItemTemplate

Gets or sets the DataTemplate used for Telephone-type contacts in OneLine mode.

(Inherited from UCListBox)

Methods

ClearContainerForItemOverride(DependencyObject, Object)

Removes any bindings and templates applied to the item container for the specified content.

GetContainerForItemOverride()

Creates or identifies the element used to display a specified item.

IsItemItsOwnContainerOverride(Object)

Checks whether the item is a ContactSearchResultListItem.

OnApplyTemplate()

OnApplyTemplate override.

OnCreateAutomationPeer()

Overrides the OnCreateAutomationPeer method to return a ContactSearchResultListAutomationPeer object.

OnItemsChanged(NotifyCollectionChangedEventArgs)

Reserved for internal use.

(Inherited from UCListBox)
PrepareContainerForItemOverride(DependencyObject, Object)

Prepares the specified element to display the specified item.

Applies to

Продукт Версии
Lync Silverlight latest
Lync WPF latest