In This Article

TaskTabControlItemAutomationPeer Class

Exposes TaskTabControl item types to UI Automation.

public class TaskTabControlItemAutomationPeer : TabItemAutomationPeer
Inheritance:
object AutomationPeer ItemAutomationPeer SelectorItemAutomationPeer TabItemAutomationPeer object

Constructors

TaskTabControlItemAutomationPeer(object, TaskTabControlAutomationPeer)

Initializes a new instance of the TaskTabControlItemAutomationPeer class.

public TaskTabControlItemAutomationPeer(object item, TaskTabControlAutomationPeer itemsControlAutomationPeer)
Parameter Type Description
item object

The data item in the collection that is associated with this ItemAutomationPeer.

itemsControlAutomationPeer TaskTabControlAutomationPeer

The ItemsControlAutomationPeer that is associated with the ItemsControl that holds the data item.

Methods

GetAutomationControlTypeCore()

Gets the control type for the TabItem that is associated with this TabItemAutomationPeer. Called by GetAutomationControlType().

protected override AutomationControlType GetAutomationControlTypeCore()

Returns

AutomationControlType:

The TabItem enumeration value.

GetClassNameCore()

Gets the name of the TabItem that is associated with this TabItemAutomationPeer. Called by GetClassName().

protected override string GetClassNameCore()

Returns

string:

A string that contains "TabItem".

GetLocalizedControlTypeCore()

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

protected override string GetLocalizedControlTypeCore()

Returns

string:

The type of the control.