Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

SelectionPattern Class

Definition

Namespace:
System.Windows.Automation
Assembly:
UIAutomationClient.dll

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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

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

Remarks

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

Fields

Name Description
CanSelectMultipleProperty

Identifies the CanSelectMultiple property.

InvalidatedEvent

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.

IsSelectionRequiredProperty

Identifies the IsSelectionRequired property.

Pattern

Identifies the SelectionPattern control pattern.

SelectionProperty

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

Properties

Name Description
Cached

Gets the cached UI Automation property values for this SelectionPattern.

Current

Gets the current UI Automation property values for this SelectionPattern.

Methods

Name Description
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)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also


Feedback

Was this page helpful?