MultipleViewPatternIdentifiers MultipleViewPatternIdentifiers MultipleViewPatternIdentifiers Class

Contains values used as identifiers by IMultipleViewProvider.

Syntax

Declaration

public sealed class MultipleViewPatternIdentifierspublic sealed class MultipleViewPatternIdentifiersPublic NotInheritable Class MultipleViewPatternIdentifiers

Remarks

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

Properties summary

Identifies the CurrentView automation property.

Identifies the automation property that gets the control-specific collection of views.

Properties

  • CurrentViewProperty
    CurrentViewProperty
    CurrentViewProperty
    CurrentViewProperty

    Identifies the CurrentView automation property.

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

    Property Value

  • SupportedViewsProperty
    SupportedViewsProperty
    SupportedViewsProperty
    SupportedViewsProperty

    Identifies the automation property that gets the control-specific collection of views.

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

    Property Value

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

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

Details

Assembly

Windows.UI.Xaml.Automation.dll