In This Article

BarCodeAutomationPeer Class

Exposes the BarCode control to UI Automation.

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

Constructors

BarCodeAutomationPeer(FrameworkElement)

Initializes an instance of the BarCodeAutomationPeer class.

public BarCodeAutomationPeer(FrameworkElement owner)
Parameter Type Description
owner FrameworkElement

The owner of the 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.

GetNameCore()

Gets the text string describing the element that is associated with this automation peer.

protected override string GetNameCore()

Returns

string:

The string that contains the name.