In This Article

BreadcrumbAutomationPeer Class

Exposes Breadcrumb types to UI Automation.

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

Constructors

BreadcrumbAutomationPeer(Breadcrumb)

Exposes Breadcrumb types to UI Automation.

public BreadcrumbAutomationPeer(Breadcrumb owner)
Parameter Type Description
owner Breadcrumb

The owner.

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.

GetLocalizedControlTypeCore()

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

protected override string GetLocalizedControlTypeCore()

Returns

string:

The type of the control.

GetPattern(PatternInterface)

Gets the control pattern for the UIElement that is associated with this UIElementAutomationPeer.

public override object? GetPattern(PatternInterface patternInterface)
Parameter Type Description
patternInterface PatternInterface

A value from the enumeration.

Returns

object:

An object that implements the ISynchronizedInputProvider interface if patternInterface is SynchronizedInput; otherwise, null.

Extension Methods