ScrollPatternIdentifiers Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains values used as identifiers by IScrollProvider, and also contains the NoScroll constant.
public ref class ScrollPatternIdentifiers sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class ScrollPatternIdentifiers final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class ScrollPatternIdentifiers
Public NotInheritable Class ScrollPatternIdentifiers
- Inheritance
- Attributes
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10240.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|
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 Microsoft UI Automation tree. IScrollProvider is also presented as a Component Object Model (COM) interface.
Properties
HorizontallyScrollableProperty |
Identifies the HorizontallyScrollable automation property. |
HorizontalScrollPercentProperty |
Identifies the HorizontalScrollPercent automation property. |
HorizontalViewSizeProperty |
Identifies the HorizontalViewSize automation property. |
NoScroll |
Specifies that scrolling should not be performed. |
VerticallyScrollableProperty |
Identifies the VerticallyScrollable automation property. |
VerticalScrollPercentProperty |
Identifies the VerticalScrollPercent automation property. |
VerticalViewSizeProperty |
Identifies the VerticalViewSize automation property. |