In This Article

BreadcrumbAutomationPeer Class

Exposes Breadcrumb types to UI Automation.

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

Constructors

BreadcrumbAutomationPeer(Breadcrumb)

Initializes a new instance of the BreadcrumbAutomationPeer class.

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 BreadcrumbAutomationPeer. This method is called by GetClassName().

protected override string GetClassNameCore()

Returns

string:

The Type.Name of the Owner.

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 object that supports the specified control pattern of the element that is associated with this automation peer.

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

A value in the enumeration.

Returns

object:

This method will return a 'this' pointer in the follow cases:

  • If patternInterface is Value.