ScrollPatternIdentifiers ScrollPatternIdentifiers ScrollPatternIdentifiers Class

Contains values used as identifiers by IScrollProvider, and also contains the NoScroll constant.

Syntax

Declaration

public sealed class ScrollPatternIdentifierspublic sealed class ScrollPatternIdentifiersPublic NotInheritable Class ScrollPatternIdentifiers

Remarks

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

Properties summary

Identifies the HorizontallyScrollable automation property.

Identifies the HorizontalScrollPercent automation property.

Identifies the HorizontalViewSize automation property.

Specifies that scrolling should not be performed.

Identifies the VerticallyScrollable automation property.

Identifies the VerticalScrollPercent automation property.

Identifies the VerticalViewSize automation property.

Properties

  • HorizontallyScrollableProperty
    HorizontallyScrollableProperty
    HorizontallyScrollableProperty
    HorizontallyScrollableProperty

    Identifies the HorizontallyScrollable automation property.

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

    Property Value

  • HorizontalScrollPercentProperty
    HorizontalScrollPercentProperty
    HorizontalScrollPercentProperty
    HorizontalScrollPercentProperty

    Identifies the HorizontalScrollPercent automation property.

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

    Property Value

  • HorizontalViewSizeProperty
    HorizontalViewSizeProperty
    HorizontalViewSizeProperty
    HorizontalViewSizeProperty

    Identifies the HorizontalViewSize automation property.

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

    Property Value

  • NoScroll
    NoScroll
    NoScroll
    NoScroll

    Specifies that scrolling should not be performed.

    public static double NoScroll { get; }public static double NoScroll { get; }Public Static ReadOnly Property NoScroll As double

    Property Value

    • double
      double
      double

      The value – 1. This is the value to return if a client asks for the scrolling percentage, but scrolling is not enabled.

  • VerticallyScrollableProperty
    VerticallyScrollableProperty
    VerticallyScrollableProperty
    VerticallyScrollableProperty

    Identifies the VerticallyScrollable automation property.

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

    Property Value

  • VerticalScrollPercentProperty
    VerticalScrollPercentProperty
    VerticalScrollPercentProperty
    VerticalScrollPercentProperty

    Identifies the VerticalScrollPercent automation property.

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

    Property Value

  • VerticalViewSizeProperty
    VerticalViewSizeProperty
    VerticalViewSizeProperty
    VerticalViewSizeProperty

    Identifies the VerticalViewSize automation property.

    public static AutomationProperty VerticalViewSizeProperty { get; }public static AutomationProperty VerticalViewSizeProperty { get; }Public Static ReadOnly Property VerticalViewSizeProperty 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.StaticAttribute
Windows.Foundation.Metadata.MarshalingBehaviorAttribute
Windows.Foundation.Metadata.WebHostHiddenAttribute
Windows.Foundation.Metadata.ContractVersionAttribute

Details

Assembly

Windows.UI.Xaml.Automation.dll