英語で読む 編集

次の方法で共有


ContactListItem Class

Definition

Reserved for internal use. This control is used to display the contact nodes in a ContactList control.

C#
[System.Windows.TemplatePart(Name="PART_ContactItem", Type=typeof(Microsoft.Lync.Controls.ContactItem))]
public class ContactListItem : Microsoft.Lync.Controls.UCTreeViewItem
Inheritance
ContactListItem
Attributes

Constructors

ContactListItem()

Constructs an instance of the ContactListItem class.

Fields

_callButton

The call button part

(Inherited from UCTreeViewItem)
BotContentTemplateProperty

Identifies the BotContentTemplate dependency property.

BotTwoLineContentTemplateProperty

Identifies the BotTwoLineContentTemplate dependency property.

ContactLayoutViewProperty

Identifies the ContactLayoutView dependency property.

ContactSeparatorVisibilityProperty

Identifies the ContactSeparatorVisibility dependency property.

GroupContentTemplateProperty

Identifies the GroupContentTemplate dependency property.

GroupTwoLineContentTemplateProperty

Identifies the GroupTwoLineContentTemplate dependency property.

ModelProperty

Identifies the Model dependency property.

PartNameCallButton

The call button part name

(Inherited from UCTreeViewItem)
PersonContentTemplateProperty

Identifies the PersonContentTemplate dependency property.

PersonTwoLineContentTemplateProperty

Identifies the PersonTwoLineContentTemplate dependency property.

ShowFriendlyNameProperty

Identifies the ShowFriendlyName dependency property.

TelephoneContentTemplateProperty

Identifies the TelephoneContentTemplate dependency property.

TelephoneTwoLineContentTemplateProperty

Identifies the TelephoneTwoLineContentTemplate dependency property.

Properties

BotContentTemplate

Gets or sets the DataTemplate used for Bot-type contacts in OneLine mode. (See ContactLayoutView).

BotTwoLineContentTemplate

Gets or sets the DataTemplate used for Bot-type contacts in TwoLines mode. (See ContactLayoutView).

CallButtonVisibility

Gets or sets an enumerated value which indicates whether or not the call button on this contact item's template is visible. This property is updated based on MouseEnter and MouseLeave events.

(Inherited from UCTreeViewItem)
ContactLayoutView

Gets or sets an enumerated value which determines whether this contact item is displayed in OneLine or TwoLines mode.

ContactSeparatorVisibility

Gets or sets an enumerated value which determines whether or not a separator element is displayed in this control.

ContextualInformation

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

(Inherited from UCTreeViewItem)
GroupContentTemplate

Gets or sets the DataTemplate used for Group-type contacts in OneLine mode. (See ContactLayoutView).

GroupTwoLineContentTemplate

Gets or sets the DataTemplate used for Group-type contacts in TwoLines mode. (See ContactLayoutView).

IsContainerSelected

Reserved for internal use.

(Inherited from UCTreeViewItem)
Model

Reserved for internal use.

PersonContentTemplate

Gets or sets the DataTemplate used for Person-type contacts in OneLine mode. (See ContactLayoutView).

PersonTwoLineContentTemplate

Gets or sets the DataTemplate used for Person-type contacts in TwoLines mode. (See ContactLayoutView).

ShowFriendlyName

Gets or sets a boolean value which determines whether or not this contact item displays a friendly name string or a SIP URI.

Source

Specifies a contact or distribution group to which this control should be bound.

(Inherited from UCTreeViewItem)
TelephoneContentTemplate

Gets or sets the DataTemplate used for Telephone-type contacts in OneLine mode. (See ContactLayoutView).

TelephoneTwoLineContentTemplate

Gets or sets the DataTemplate used for Telephone-type contacts in TwoLines mode. (See ContactLayoutView).

Methods

ClearContainerForItemOverride(DependencyObject, Object)

Removes all templates, styles, and bindings for the object displayed as a UCTreeViewItem.

(Inherited from UCTreeViewItem)
HandleDropDownClosed(Object, EventArgs)

Reserved for internal use.

(Inherited from UCTreeViewItem)
HandleDropDownOpened(Object, EventArgs)

Reserved for internal use.

(Inherited from UCTreeViewItem)
HandlePartContactItemOnItemTemplated(Object, EventArgs)

Reserved for internal use.

IsItemItsOwnContainerOverride(Object)

Determines whether an object is a UCTreeViewItem.

(Inherited from UCTreeViewItem)
OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call ApplyTemplate. In simplest terms, this means the method is called just before a UI element displays in an application.

OnCreateAutomationPeer()

OnCreateAutomationPeer

(Inherited from UCTreeViewItem)
OnGotFocus(RoutedEventArgs)

Provides handling for the GotFocus event.

(Inherited from UCTreeViewItem)
OnKeyDown(KeyEventArgs)

Provides handling for the KeyDown event when the TreeViewItem has focus.

(Inherited from UCTreeViewItem)
OnLostFocus(RoutedEventArgs)

Provides handling for the LostFocus event.

(Inherited from UCTreeViewItem)
OnMouseLeftButtonDown(MouseButtonEventArgs)

Provides handling for the MouseLeftButtonDown event.

(Inherited from UCTreeViewItem)
OnMouseLeftButtonUp(MouseButtonEventArgs)

Provides handling for the MouseLeftButtonUp event.

(Inherited from UCTreeViewItem)
OnMouseRightButtonDown(MouseButtonEventArgs)

Raises the MouseRightButtonDown event.

(Inherited from UCTreeViewItem)
OnPreviewMouseDoubleClick(MouseButtonEventArgs)

Override default behavior for double click

OnSourceChanged(Object, Object)

Reserved for internal use.

PrepareContainerForItemOverride(DependencyObject, Object)

Prepares the specified container element to display the specified item.

(Inherited from UCTreeViewItem)

Applies to

製品 バージョン
Lync Silverlight latest
Lync WPF latest