Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 2.89 KB

scrollviewerautomationpeer.md

File metadata and controls

35 lines (23 loc) · 2.89 KB
-api-id -api-type
T:Windows.UI.Xaml.Automation.Peers.ScrollViewerAutomationPeer
winrt class

Windows.UI.Xaml.Automation.Peers.ScrollViewerAutomationPeer

-description

Exposes ScrollViewer types to Microsoft UI Automation.

-remarks

The Windows Runtime ScrollViewer class creates a new ScrollViewerAutomationPeer as its OnCreateAutomationPeer definition. ScrollViewer is sealed, so the normal scenario of deriving from the ScrollViewer class and its existing peer isn't applicable to ScrollViewerAutomationPeer.

Default peer implementation and overrides in ScrollViewerAutomationPeer

ScrollViewerAutomationPeer has overrides of Core methods such that the associated AutomationPeer methods provide peer-specific information to a Microsoft UI Automation client.

The peer also has other behaviors that are provided by the base FrameworkElementAutomationPeer class. For more info, see "Base implementation in FrameworkElementAutomationPeer" section of Custom automation peers.

-examples

-see-also

ScrollViewer, FrameworkElementAutomationPeer, IScrollProvider, Custom automation peers