SelectionItemPattern SelectionItemPattern SelectionItemPattern SelectionItemPattern Class

Definition

Represents selectable child items of container controls that support SelectionPattern.

public ref class SelectionItemPattern : System::Windows::Automation::BasePattern
public class SelectionItemPattern : System.Windows.Automation.BasePattern
type SelectionItemPattern = class
    inherit BasePattern
Public Class SelectionItemPattern
Inherits BasePattern
Inheritance
SelectionItemPatternSelectionItemPatternSelectionItemPatternSelectionItemPattern

Remarks

See Control Pattern Mapping for UI Automation Clients for examples of controls that can implement this control pattern.

Fields

ElementAddedToSelectionEvent ElementAddedToSelectionEvent ElementAddedToSelectionEvent ElementAddedToSelectionEvent

Identifies the event raised when an item is added to a collection of selected items.

ElementRemovedFromSelectionEvent ElementRemovedFromSelectionEvent ElementRemovedFromSelectionEvent ElementRemovedFromSelectionEvent

Identifies the event raised when an item is removed from a collection of selected items.

ElementSelectedEvent ElementSelectedEvent ElementSelectedEvent ElementSelectedEvent

Identifies the event that is raised when a call to any of Select(), AddToSelection(), or RemoveFromSelection() results in a single item being selected.

IsSelectedProperty IsSelectedProperty IsSelectedProperty IsSelectedProperty

Identifies the IsSelected property.

Pattern Pattern Pattern Pattern

Identifies the SelectionItemPattern control pattern.

SelectionContainerProperty SelectionContainerProperty SelectionContainerProperty SelectionContainerProperty

Identifies the SelectionContainer property.

Properties

Cached Cached Cached Cached

Gets the cached property values for this SelectionItemPattern.

Current Current Current Current

Gets the current property values for this SelectionItemPattern.

Methods

AddToSelection() AddToSelection() AddToSelection() AddToSelection()

Adds the current element to the collection of selected items.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
RemoveFromSelection() RemoveFromSelection() RemoveFromSelection() RemoveFromSelection()

Removes the current element from the collection of selected items.

Select() Select() Select() Select()

Deselects any selected items and then selects the current element.

ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also