In This Article

BarSeparatorAutomationPeer Class

Exposes BarSeparator types to UI Automation.

public class BarSeparatorAutomationPeer : SeparatorAutomationPeer
Inheritance:
object AutomationPeer UIElementAutomationPeer FrameworkElementAutomationPeer SeparatorAutomationPeer object

Constructors

BarSeparatorAutomationPeer(BarSeparator)

Initializes a new instance of the BarSeparatorAutomationPeer class.

public BarSeparatorAutomationPeer(BarSeparator owner)
Parameter Type Description
owner BarSeparator

The owner element.

Methods

GetClassNameCore()

Gets the name of the Separator that is associated with this SeparatorAutomationPeer. Called by GetClassName().

protected override string GetClassNameCore()

Returns

string:

A string that contains "Separator".

GetLocalizedControlTypeCore()

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

protected override string GetLocalizedControlTypeCore()

Returns

string:

The type of the control.