Class
RadPanelBarItemAutomationPeer

Provides the automation peer for the RadPanelBarItem class, facilitating access to the UI Automation framework. The RadPanelBarItemAutomationPeer enables the automation of the RadPanelBarItem's interaction patterns, such as expand/collapse functionality, selection capabilities, and scrolling within a panel bar interface. This class overrides methods to provide localized control type information and additional help text specific to the RadPanelBarItem. It also supports advanced automation scenarios by reporting properties of the item.

Definition

Namespace:Telerik.Windows.Automation.Peers

Assembly:Telerik.Windows.Controls.Navigation.dll

Syntax:

cs-api-definition
public class RadPanelBarItemAutomationPeer : RadTreeViewItemAutomationPeer, IExpandCollapseProvider, ISelectionItemProvider, IValueProvider, IScrollItemProvider

Inheritance: objectRadTreeViewItemAutomationPeerRadPanelBarItemAutomationPeer

Implements: IExpandCollapseProviderIScrollItemProviderISelectionItemProviderIValueProvider

Inherited Members RadTreeViewItemAutomationPeer.SetValue(string)RadTreeViewItemAutomationPeer.GetSizeOfSetCore()RadTreeViewItemAutomationPeer.GetPositionInSetCore()RadTreeViewItemAutomationPeer.IsContentElementCore()RadTreeViewItemAutomationPeer.ValueRadTreeViewItemAutomationPeer.IsReadOnlyRadTreeViewItemAutomationPeer.Owner

Constructors

RadPanelBarItemAutomationPeer(RadPanelBarItem)

Initializes a new instance of the RadPanelBarItemAutomationPeer class.

Declaration

cs-api-definition
public RadPanelBarItemAutomationPeer(RadPanelBarItem owner)

Parameters

owner

RadPanelBarItem

The owner.

Methods

GetAutomationControlTypeCore()

Gets the control type for the UIElement that is associated with this . This method is called by .

Declaration

cs-api-definition
protected override AutomationControlType GetAutomationControlTypeCore()

Returns

AutomationControlType

The enumeration value.

Overrides RadTreeViewItemAutomationPeer.GetAutomationControlTypeCore()

GetClassNameCore()

Declaration

cs-api-definition
protected override string GetClassNameCore()

Returns

string

Overrides RadTreeViewItemAutomationPeer.GetClassNameCore()

GetHelpTextCore()

Declaration

cs-api-definition
protected override string GetHelpTextCore()

Returns

string

Overrides RadTreeViewItemAutomationPeer.GetHelpTextCore()

GetItemStatusCore()

Declaration

cs-api-definition
protected override string GetItemStatusCore()

Returns

string

Overrides RadTreeViewItemAutomationPeer.GetItemStatusCore()

GetItemTypeCore()

Declaration

cs-api-definition
protected override string GetItemTypeCore()

Returns

string

Overrides RadTreeViewItemAutomationPeer.GetItemTypeCore()

GetLocalizedControlTypeCore()

Declaration

cs-api-definition
protected override string GetLocalizedControlTypeCore()

Returns

string

GetNameCore()

Gets the text label of the that is associated with this . Called by .

Declaration

cs-api-definition
protected override string GetNameCore()

Returns

string

The text label of the element that is associated with this automation peer.

Overrides RadTreeViewItemAutomationPeer.GetNameCore()

GetPattern(PatternInterface)

Retrieves the specified pattern associated with the current RadPanelBarItemAutomationPeer.

Declaration

cs-api-definition
public override object GetPattern(PatternInterface patternInterface)

Parameters

patternInterface

PatternInterface

The interface of the pattern to retrieve.

Returns

object

The requested pattern if it is available; otherwise, null.

Overrides RadTreeViewItemAutomationPeer.GetPattern(PatternInterface)