SelectionPatternIdentifiers SelectionPatternIdentifiers SelectionPatternIdentifiers SelectionPatternIdentifiers Class

Definition

Contains values used as identifiers by ISelectionProvider.

public : sealed class SelectionPatternIdentifiers : ISelectionPatternIdentifiers
public sealed class SelectionPatternIdentifiers : ISelectionPatternIdentifiers
Public NotInheritable Class SelectionPatternIdentifiers Implements ISelectionPatternIdentifiers
// This class does not provide a public constructor.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

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 Microsoft UI Automation tree. ISelectionProvider is also presented as a Component Object Model (COM) interface.

Properties

CanSelectMultipleProperty CanSelectMultipleProperty CanSelectMultipleProperty CanSelectMultipleProperty

Identifies the CanSelectMultiple automation property.

public : static AutomationProperty CanSelectMultipleProperty { get; }
public static AutomationProperty CanSelectMultipleProperty { get; }
Public Static ReadOnly Property CanSelectMultipleProperty As AutomationProperty
var automationProperty = Windows.UI.Xaml.Automation.SelectionPatternIdentifiers.canSelectMultipleProperty;

IsSelectionRequiredProperty IsSelectionRequiredProperty IsSelectionRequiredProperty IsSelectionRequiredProperty

Identifies the IsSelectionRequired automation property.

public : static AutomationProperty IsSelectionRequiredProperty { get; }
public static AutomationProperty IsSelectionRequiredProperty { get; }
Public Static ReadOnly Property IsSelectionRequiredProperty As AutomationProperty
var automationProperty = Windows.UI.Xaml.Automation.SelectionPatternIdentifiers.isSelectionRequiredProperty;

SelectionProperty SelectionProperty SelectionProperty SelectionProperty

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

public : static AutomationProperty SelectionProperty { get; }
public static AutomationProperty SelectionProperty { get; }
Public Static ReadOnly Property SelectionProperty As AutomationProperty
var automationProperty = Windows.UI.Xaml.Automation.SelectionPatternIdentifiers.selectionProperty;

See Also