Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SelectionPattern Class

 

Represents a control that acts as a container for a collection of selectable child items. The children of this element support the SelectionItemPattern.

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

System.Object
  System.Windows.Automation.BasePattern
    System.Windows.Automation.SelectionPattern

Public Class SelectionPattern
	Inherits BasePattern

NameDescription
System_CAPS_pubpropertyCached

Gets the cached UI Automation property values for this SelectionPattern.

System_CAPS_pubpropertyCurrent

Gets the current UI Automation property values for this SelectionPattern.

NameDescription
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_pubmethodToString()

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

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticCanSelectMultipleProperty

Identifies the CanSelectMultiple property.

System_CAPS_pubfieldSystem_CAPS_staticInvalidatedEvent

Identifies the event that is raised when a selection in a container has changed significantly and requires sending more addition and removal events than the InvalidateLimit constant permits.

System_CAPS_pubfieldSystem_CAPS_staticIsSelectionRequiredProperty

Identifies the IsSelectionRequired property.

System_CAPS_pubfieldSystem_CAPS_staticPattern

Identifies the SelectionPattern control pattern.

System_CAPS_pubfieldSystem_CAPS_staticSelectionProperty

Identifies the property that gets the selected items in a container.

See Control Pattern Mapping for UI Automation Clients for examples of controls that may 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:
© 2017 Microsoft