In This Article

CardAutomationPeer Class

Exposes Card types to UI Automation.

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

Constructors

CardAutomationPeer(Card)

Exposes Card types to UI Automation.

public CardAutomationPeer(Card owner)
Parameter Type Description
owner Card

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.

Extension Methods