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)

Exposes the BarCode control to UI Automation.

public BarCodeAutomationPeer(FrameworkElement owner)
Parameter Type Description
owner FrameworkElement

The owner of the automation peer.

Methods

GetAutomationControlTypeCore()

Gets the control type for the UIElement that is associated with this UIElementAutomationPeer. This method is called by GetAutomationControlType().

protected override AutomationControlType GetAutomationControlTypeCore()

Returns

AutomationControlType:

The Custom enumeration value.

GetClassNameCore()

Gets the name of the UIElement that is associated with this UIElementAutomationPeer. This method is called by GetClassName().

protected override string GetClassNameCore()

Returns

string:

An Empty string.

GetNameCore()

Gets the text label of the ContentElement that is associated with this ContentElementAutomationPeer. Called by GetName().

protected override string? GetNameCore()

Returns

string:

The text label of the element that is associated with this automation peer.

Extension Methods