New to Telerik UI for WPFStart a free 30-day trial

Provides a base class for the automation peer of a RadOutlookBarItem. This class enables automated UI testing and accessibility support for the outlook bar item, allowing it to expose properties and behaviors to UI automation clients. Depending on the platform, it may associate with the owning RadOutlookBar and extend the automation functionality by providing item-specific properties, such as icons and selection state. It overrides several methods to provide custom control type, class name, and help text for improved automation integration.

Definition

Constructors

Initializes a new instance of the RadOutlookBarItemAutomationPeer class.

C#
public RadOutlookBarItemAutomationPeer(object item, RadOutlookBarAutomationPeer outlookAutomationPeer)
Parameters:itemobject

The RadOutlookBarItem that will be associated with newly created RadOutlookBarItemAutomationPeer object.

outlookAutomationPeerRadOutlookBarAutomationPeer

The RadOutlookBarAutomationPeer that is associated with item's parent RadOutlookBar.

Methods

C#
protected override AutomationControlType GetAutomationControlTypeCore()
Returns:

AutomationControlType

Overrides: RadTabItemAutomationPeer.GetAutomationControlTypeCore()

C#
protected override string GetClassNameCore()
Returns:

string

Overrides: RadTabItemAutomationPeer.GetClassNameCore()

C#
protected override string GetHelpTextCore()
Returns:

string

Overrides: RadTabItemAutomationPeer.GetHelpTextCore()

C#
protected override string GetItemStatusCore()
Returns:

string

Overrides: RadTabItemAutomationPeer.GetItemStatusCore()

C#
protected override string GetLocalizedControlTypeCore()
Returns:

string