In This Article

TaskTabControlAutomationPeer Class

Exposes TaskTabControl types to UI Automation.

public class TaskTabControlAutomationPeer : TabControlAutomationPeer
Inheritance:
object AutomationPeer UIElementAutomationPeer FrameworkElementAutomationPeer ItemsControlAutomationPeer SelectorAutomationPeer TabControlAutomationPeer object

Constructors

TaskTabControlAutomationPeer(TaskTabControl)

Initializes a new instance of the TaskTabControlAutomationPeer class.

public TaskTabControlAutomationPeer(TaskTabControl owner)
Parameter Type Description
owner TaskTabControl

The owner element.

Methods

CreateItemAutomationPeer(object)

Creates a new TabItemAutomationPeer.

protected override ItemAutomationPeer CreateItemAutomationPeer(object item)
Parameter Type Description
item object

The TabItem that is associated with the new TabItemAutomationPeer.

Returns

ItemAutomationPeer:

The created TabItemAutomationPeer object.

GetClassNameCore()

Gets the name of the TabItem that is associated with the new TabItemAutomationPeer. This method is called by GetClassName().

protected override string GetClassNameCore()

Returns

string:

A string that contains "TabControl".

GetLocalizedControlTypeCore()

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

protected override string GetLocalizedControlTypeCore()

Returns

string:

The type of the control.