In This Article

BreadcrumbAutomationPeer Class

Exposes Breadcrumb types to UI Automation.

public class BreadcrumbAutomationPeer : FrameworkElementAutomationPeer, IValueProvider
Inheritance:
System.Object System.Windows.Threading.DispatcherObject System.Windows.Automation.Peers.AutomationPeer System.Windows.Automation.Peers.UIElementAutomationPeer System.Windows.Automation.Peers.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 System.Windows.UIElement that is associated with this System.Windows.Automation.Peers.UIElementAutomationPeer. This method is called by GetAutomationControlType().

protected override AutomationControlType GetAutomationControlTypeCore()

Returns

AutomationControlType:

The Custom enumeration value.

GetClassNameCore()

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

protected override string GetClassNameCore()

Returns

System.String:

The Type.Name of the Owner.

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 System.Windows.Automation.Peers.PatternInterface

A value in the enumeration.

Returns

System.Object:

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

  • If patternInterface is Value.

Inherited Members

  • System.Object.ToString()
  • System.Object.Equals(System.Object)
  • System.Object.Equals(System.Object, System.Object)
  • System.Object.ReferenceEquals(System.Object, System.Object)
  • System.Object.GetHashCode()
  • System.Object.GetType()
  • System.Object.MemberwiseClone()