Windows Dev Center

SelectionPatternIdentifiers class

Contains values used as identifiers by ISelectionProvider.

Inheritance

Object
  SelectionPatternIdentifiers

Syntax


public ref class SelectionPatternIdentifiers sealed 

Members

The SelectionPatternIdentifiers class has these types of members:

Methods

The SelectionPatternIdentifiers class inherits methods from the Object class.

Properties

The SelectionPatternIdentifiers class has these properties.

PropertyAccess typeDescription

CanSelectMultipleProperty

Read-onlyIdentifies the CanSelectMultiple automation property.

IsSelectionRequiredProperty

Read-onlyIdentifies the IsSelectionRequired automation property.

SelectionProperty

Read-onlyIdentifies the property that gets the selected items in a container.

 

Remarks

Classes such as SelectionPatternIdentifiers are the identifiers for the Windows Runtime implementation of a common provider pattern for Microsoft UI Automation. You might use these identifiers if you are implementing a Windows Runtime custom automation peer that reports support for ISelectionProvider in its GetPattern implementation. These identifiers are needed for the RaisePropertyChangedEvent calls that you make from control code that references your own peer, or for FindItemByProperty in an items container peer.

This same pattern is usually exposed to clients in a different way, depending on which technology they use to implement the client and examine the UI Automation tree. ISelectionProvider is also presented as a Component Object Model (COM) interface.

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.UI.Xaml.Automation
Windows::UI::Xaml::Automation [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Automation
Windows::UI::Xaml::Automation [C++]

Metadata

Windows.winmd

Attributes

[MarshalingBehavior(Agile)]
[Threading(Both)]
[Version(0x06020000)]
[WebHostHidden()]

See also

Object
ISelectionProvider
ISelectionItemProvider
Control patterns and interfaces
Custom automation peers

 

 

Show:
© 2015 Microsoft