In This Article

GaugeBaseAutomationPeer Class

Exposes GaugeBase types to UI Automation.

public class GaugeBaseAutomationPeer : FrameworkElementAutomationPeer
Inheritance:
object AutomationPeer UIElementAutomationPeer FrameworkElementAutomationPeer object
Derived:
FlipSwitchAutomationPeer LedAutomationPeer

Constructors

GaugeBaseAutomationPeer(GaugeBase)

Initializes a new instance of the GaugeBaseAutomationPeer class.

public GaugeBaseAutomationPeer(GaugeBase owner)
Parameter Type Description
owner GaugeBase

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 GaugeBaseAutomationPeer. This method is called by GetClassName().

protected override string GetClassNameCore()

Returns

string:

The Type.Name of the Owner.