In This Article

RibbonTabHeaderItemsControlAutomationPeer Class

Exposes RibbonTabHeaderItemsControl types to UI Automation.

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

Constructors

RibbonTabHeaderItemsControlAutomationPeer(RibbonTabHeaderItemsControl)

Initializes a new instance of the RibbonTabHeaderItemsControlAutomationPeer class.

public RibbonTabHeaderItemsControlAutomationPeer(RibbonTabHeaderItemsControl owner)
Parameter Type Description
owner RibbonTabHeaderItemsControl

The owner element.

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.

GetClickablePointCore()

Gets a System.Windows.Point that represents the clickable space that is on the UIElement that is associated with this UIElementAutomationPeer. This method is called by GetClickablePoint().

protected override Point GetClickablePointCore()

Returns

Point:

The System.Windows.Point on the element that allows a click. The point values are (NaN, NaN) if the element is not both a HwndSource and a PresentationSource.

GetLocalizedControlTypeCore()

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

protected override string GetLocalizedControlTypeCore()

Returns

string:

The type of the control.

GetOrientationCore()

Gets a value that indicates whether the UIElement that is associated with this UIElementAutomationPeer is laid out in a specific direction. This method is called by GetOrientation().

protected override AutomationOrientation GetOrientationCore()

Returns

AutomationOrientation:

The None enumeration value.

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.