TogglePatternIdentifiers class

Applies to Windows and Windows Phone

Contains values used as identifiers by IToggleProvider.

Inheritance

Object
  TogglePatternIdentifiers

Syntax


public sealed class TogglePatternIdentifiers

Attributes

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

Members

The TogglePatternIdentifiers class has these types of members:

Methods

The TogglePatternIdentifiers class inherits methods from the Object class.

Properties

The TogglePatternIdentifiers class has these properties.

PropertyAccess typeDescription

ToggleStateProperty

Read-onlyIdentifies the ToggleState automation property.

 

Remarks

Classes such as TogglePatternIdentifiers 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 IToggleProvider 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. IToggleProvider is also presented as a Component Object Model (COM) interface.

Requirements

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

See also

IToggleProvider
Control patterns and interfaces
Custom automation peers

 

 

Show:
© 2014 Microsoft