Share via


StylesPatternIdentifiers Class

Definition

Contains values used as identifiers by IStylesProvider.

public ref class StylesPatternIdentifiers sealed
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class StylesPatternIdentifiers final
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class StylesPatternIdentifiers
Public NotInheritable Class StylesPatternIdentifiers
Inheritance
Object Platform::Object IInspectable StylesPatternIdentifiers
Attributes

Remarks

Classes such as StylesPatternIdentifiers 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 IStylesProvider in its AutomationPeer.GetPattern implementation. These identifiers are needed for the AutomationPeer.RaisePropertyChangedEvent calls that you make from control code that references your own peer, or for Microsoft.UI.Xaml.Automation.Peers.ItemsControlAutomationPeer.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. IStylesProvider is also presented as a Component Object Model (COM) interface.

Properties

ExtendedPropertiesProperty

Identifies the ExtendedProperties automation property.

FillColorProperty

Identifies the FillColor automation property.

FillPatternColorProperty

Identifies the FillPatternColor automation property.

FillPatternStyleProperty

Identifies the FillPatternStyle automation property.

ShapeProperty

Identifies the Shape automation property.

StyleIdProperty

Identifies the StyleId automation property.

StyleNameProperty

Identifies the StyleName automation property.

Applies to

See also