In This Article

ExpanderBarAutomationPeer Class

Exposes ExpanderBar types to UI Automation.

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

Constructors

ExpanderBarAutomationPeer(ExpanderBar)

Initializes an instance of the ExpanderBarAutomationPeer class.

public ExpanderBarAutomationPeer(ExpanderBar owner)
Parameter Type Description
owner ExpanderBar

Properties

ExpanderBar

Gets the ExpanderBar that is wrapped by this UI Automation peer.

public ExpanderBar ExpanderBar { get; }

Property Value

ExpanderBar:

The ExpanderBar that is wrapped by this UI Automation peer.

Methods

GetAutomationControlTypeCore()

Gets the AutomationControlType for the element that is associated with the UI Automation peer.

protected override AutomationControlType GetAutomationControlTypeCore()

Returns

AutomationControlType:

A AutomationControlType indicating the control type.

GetClassNameCore()

Gets a human readable name that, in addition to AutomationControlType, differentiates the control represented by this AutomationPeer.

protected override string GetClassNameCore()

Returns

string:

The string that contains the name.