ScrollPatternIdentifiers class

ScrollPatternIdentifiers class

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

Inheritance

Object
  ScrollPatternIdentifiers

Syntax


public ref class ScrollPatternIdentifiers sealed 

Members

The ScrollPatternIdentifiers class has these types of members:

Properties

The ScrollPatternIdentifiers class has these properties.

PropertyAccess typeDescription

HorizontallyScrollableProperty

Read-only

Identifies the HorizontallyScrollable automation property.

HorizontalScrollPercentProperty

Read-only

Identifies the HorizontalScrollPercent automation property.

HorizontalViewSizeProperty

Read-only

Identifies the HorizontalViewSize automation property.

NoScroll

Read-only

Specifies that scrolling should not be performed.

VerticallyScrollableProperty

Read-only

Identifies the VerticallyScrollable automation property.

VerticalScrollPercentProperty

Read-only

Identifies the VerticalScrollPercent automation property.

VerticalViewSizeProperty

Read-only

Identifies the VerticalViewSize automation property.

 

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

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.UI.Xaml.Automation
Windows::UI::Xaml::Automation [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

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

Attributes

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

See also

Object
IScrollProvider
ScrollAmount
ScrollViewerAutomationPeer
Control patterns and interfaces
Custom automation peers

 

 

Show:
© 2016 Microsoft