SelectionItemPattern Class

 

Represents selectable child items of container controls that support SelectionPattern.

Namespace:   System.Windows.Automation
Assembly:  UIAutomationClient (in UIAutomationClient.dll)

System.Object
  System.Windows.Automation.BasePattern
    System.Windows.Automation.SelectionItemPattern

public class SelectionItemPattern : BasePattern

NameDescription
System_CAPS_pubpropertyCached

Gets the cached property values for this SelectionItemPattern.

System_CAPS_pubpropertyCurrent

Gets the current property values for this SelectionItemPattern.

NameDescription
System_CAPS_pubmethodAddToSelection()

Adds the current element to the collection of selected items.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Frees resources and performs other cleanup operations before the object is reclaimed by garbage collection.(Inherited from BasePattern.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodRemoveFromSelection()

Removes the current element from the collection of selected items.

System_CAPS_pubmethodSelect()

Deselects any selected items and then selects the current element.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticElementAddedToSelectionEvent

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

System_CAPS_pubfieldSystem_CAPS_staticElementRemovedFromSelectionEvent

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

System_CAPS_pubfieldSystem_CAPS_staticElementSelectedEvent

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

System_CAPS_pubfieldSystem_CAPS_staticIsSelectedProperty

Identifies the IsSelected property.

System_CAPS_pubfieldSystem_CAPS_staticPattern

Identifies the SelectionItemPattern control pattern.

System_CAPS_pubfieldSystem_CAPS_staticSelectionContainerProperty

Identifies the SelectionContainer property.

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

.NET Framework
Available since 3.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: