In This Article

SettingsCardAutomationPeer Class

Exposes SettingsCard types to UI Automation.

public class SettingsCardAutomationPeer : ButtonAutomationPeer
Inheritance:
object AutomationPeer UIElementAutomationPeer FrameworkElementAutomationPeer ButtonBaseAutomationPeer ButtonAutomationPeer object

Constructors

SettingsCardAutomationPeer(SettingsCard)

Initializes a new instance of the class.

public SettingsCardAutomationPeer(SettingsCard owner)
Parameter Type Description
owner SettingsCard

The owner.

Methods

GetAutomationControlTypeCore()

Gets the control type of the element that is associated with the UI Automation peer.

protected override AutomationControlType GetAutomationControlTypeCore()

Returns

AutomationControlType:

The Button enumeration value.

GetLocalizedControlTypeCore()

When overridden in a derived class, is called by GetLocalizedControlType().

protected override string GetLocalizedControlTypeCore()

Returns

string:

The type of the control.