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
SelectionItemPattern

Remarks

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

Fields

ElementAddedToSelectionEvent

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

ElementRemovedFromSelectionEvent

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

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

Identifies the IsSelected property.

Pattern

Identifies the SelectionItemPattern control pattern.

SelectionContainerProperty

Identifies the SelectionContainer property.

Properties

Cached

Gets the cached property values for this SelectionItemPattern.

Current

Gets the current property values for this SelectionItemPattern.

Methods

AddToSelection()

Adds the current element to the collection of selected items.

Equals(Object)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
RemoveFromSelection()

Removes the current element from the collection of selected items.

Select()

Deselects any selected items and then selects the current element.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also