In This Article

ScaleBaseAutomationPeer Class

Exposes ScaleBase types to UI Automation.

public class ScaleBaseAutomationPeer : FrameworkElementAutomationPeer
Inheritance:
object AutomationPeer UIElementAutomationPeer FrameworkElementAutomationPeer object

Constructors

ScaleBaseAutomationPeer(ScaleBase)

Initializes a new instance of the ScaleBaseAutomationPeer class.

public ScaleBaseAutomationPeer(ScaleBase owner)
Parameter Type Description
owner ScaleBase

The owner.

Methods

GetAutomationControlTypeCore()

Gets the control type for the UIElement that is associated with this UIElementAutomationPeer. This method is called by GetAutomationControlType().

protected override AutomationControlType GetAutomationControlTypeCore()

Returns

AutomationControlType:

The Custom enumeration value.

GetClassNameCore()

Gets the name of the UIElement that is associated with this ScaleBaseAutomationPeer. This method is called by GetClassName().

protected override string GetClassNameCore()

Returns

string:

The Type.Name of the Owner.