SliderAutomationPeer SliderAutomationPeer SliderAutomationPeer SliderAutomationPeer Class

Definition

Exposes Slider types to Microsoft UI Automation.

public : class SliderAutomationPeer : RangeBaseAutomationPeer, ISliderAutomationPeerpublic class SliderAutomationPeer : RangeBaseAutomationPeer, ISliderAutomationPeerPublic Class SliderAutomationPeer Inherits RangeBaseAutomationPeer Implements ISliderAutomationPeer// This API is not available in Javascript.
Inheritance
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Inherited Members

Inherited methods

Inherited properties

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.

Constructors

SliderAutomationPeer(Slider) SliderAutomationPeer(Slider) SliderAutomationPeer(Slider) SliderAutomationPeer(Slider)

Initializes a new instance of the SliderAutomationPeer class.

public : SliderAutomationPeer(Slider owner)public SliderAutomationPeer(Slider owner)Public Sub New(owner As Slider)// This API is not available in Javascript.
Parameters
owner
Slider Slider Slider Slider

The Slider to create a peer for.

See Also