Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 2.88 KB

sliderautomationpeer.md

File metadata and controls

33 lines (23 loc) · 2.88 KB
-api-id -api-type
T:Windows.UI.Xaml.Automation.Peers.SliderAutomationPeer
winrt class

Windows.UI.Xaml.Automation.Peers.SliderAutomationPeer

-description

Exposes Slider types to Microsoft UI Automation.

-remarks

The Windows Runtime Slider class creates a new SliderAutomationPeer as its OnCreateAutomationPeer definition. Derive your automation peer from SliderAutomationPeer if you are deriving a custom class from Slider and want to add automation support for additional features that you enabled in your custom class. Then override OnCreateAutomationPeer so that it returns your custom peer.

Default peer implementation and overrides in SliderAutomationPeer

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

-examples

-see-also

Slider, RangeBaseAutomationPeer, IRangeValueProvider, Custom automation peers