StylesPatternIdentifiers StylesPatternIdentifiers StylesPatternIdentifiers Class

Contains values used as identifiers by IStylesProvider.

Syntax

Declaration

public sealed class StylesPatternIdentifierspublic sealed class StylesPatternIdentifiersPublic NotInheritable Class StylesPatternIdentifiers

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 GetPattern(Windows.UI.Xaml.Automation.Peers.PatternInterface) implementation. These identifiers are needed for the RaisePropertyChangedEvent(Windows.UI.Xaml.Automation.AutomationProperty,System.Object,System.Object) calls that you make from control code that references your own peer, or for FindItemByProperty(Windows.UI.Xaml.Automation.Provider.IRawElementProviderSimple,Windows.UI.Xaml.Automation.AutomationProperty,System.Object) 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 summary

Identifies the ExtendedProperties automation property.

Identifies the FillColor automation property.

Identifies the FillPatternColor automation property.

Identifies the FillPatternStyle automation property.

Identifies the Shape automation property.

Identifies the StyleId automation property.

Identifies the StyleName automation property.

Properties

  • ExtendedPropertiesProperty
    ExtendedPropertiesProperty
    ExtendedPropertiesProperty
    ExtendedPropertiesProperty

    Identifies the ExtendedProperties automation property.

    public static AutomationProperty ExtendedPropertiesProperty { get; }public static AutomationProperty ExtendedPropertiesProperty { get; }Public Static ReadOnly Property ExtendedPropertiesProperty As AutomationProperty

    Property Value

  • FillColorProperty
    FillColorProperty
    FillColorProperty
    FillColorProperty

    Identifies the FillColor automation property.

    public static AutomationProperty FillColorProperty { get; }public static AutomationProperty FillColorProperty { get; }Public Static ReadOnly Property FillColorProperty As AutomationProperty

    Property Value

  • FillPatternColorProperty
    FillPatternColorProperty
    FillPatternColorProperty
    FillPatternColorProperty

    Identifies the FillPatternColor automation property.

    public static AutomationProperty FillPatternColorProperty { get; }public static AutomationProperty FillPatternColorProperty { get; }Public Static ReadOnly Property FillPatternColorProperty As AutomationProperty

    Property Value

  • FillPatternStyleProperty
    FillPatternStyleProperty
    FillPatternStyleProperty
    FillPatternStyleProperty

    Identifies the FillPatternStyle automation property.

    public static AutomationProperty FillPatternStyleProperty { get; }public static AutomationProperty FillPatternStyleProperty { get; }Public Static ReadOnly Property FillPatternStyleProperty As AutomationProperty

    Property Value

  • ShapeProperty
    ShapeProperty
    ShapeProperty
    ShapeProperty

    Identifies the Shape automation property.

    public static AutomationProperty ShapeProperty { get; }public static AutomationProperty ShapeProperty { get; }Public Static ReadOnly Property ShapeProperty As AutomationProperty

    Property Value

  • StyleIdProperty
    StyleIdProperty
    StyleIdProperty
    StyleIdProperty

    Identifies the StyleId automation property.

    public static AutomationProperty StyleIdProperty { get; }public static AutomationProperty StyleIdProperty { get; }Public Static ReadOnly Property StyleIdProperty As AutomationProperty

    Property Value

  • StyleNameProperty
    StyleNameProperty
    StyleNameProperty
    StyleNameProperty

    Identifies the StyleName automation property.

    public static AutomationProperty StyleNameProperty { get; }public static AutomationProperty StyleNameProperty { get; }Public Static ReadOnly Property StyleNameProperty As AutomationProperty

    Property Value

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.ThreadingAttribute
Windows.Foundation.Metadata.StaticAttribute
Windows.Foundation.Metadata.MarshalingBehaviorAttribute
Windows.Foundation.Metadata.WebHostHiddenAttribute

Details

Assembly

Windows.UI.Xaml.Automation.dll