In This Article

AvatarAutomationPeer Class

Exposes Avatar types to UI Automation.

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

Constructors

AvatarAutomationPeer(Avatar)

Initializes a new instance of the class.

public AvatarAutomationPeer(Avatar owner)
Parameter Type Description
owner Avatar

The owner element.

Methods

GetLocalizedControlTypeCore()

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

protected override string GetLocalizedControlTypeCore()

Returns

string:

The type of the control.