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

Exposes RadTreeViewItem types to UI Automation.

Definition

Namespace:Telerik.Windows.Automation.Peers

Assembly:Telerik.Windows.Controls.Navigation.dll

Syntax:

C#
public class RadTreeViewItemAutomationPeer : FrameworkElementAutomationPeer, IExpandCollapseProvider, ISelectionItemProvider, IValueProvider, IScrollItemProvider

Inheritance: objectRadTreeViewItemAutomationPeer

Derived Classes: RadPanelBarItemAutomationPeer

Implements: IExpandCollapseProviderIScrollItemProviderISelectionItemProviderIValueProvider

Constructors

Initializes a new instance of the RadTreeViewItemAutomationPeer class.

C#
public RadTreeViewItemAutomationPeer(RadTreeViewItem owner)
Parameters:ownerRadTreeViewItem

The owner.

Properties

Property used to store the IsEditable property of the RadTreeViewItem.

C#
public bool IsReadOnly { get; }

Overrides the Owner property.

C#
protected RadTreeViewItem Owner { get; }

Public property for the Header text of the RadTreeViewItemAutomationPeer.

C#
public string Value { get; }

Methods

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

C#
protected override AutomationControlType GetAutomationControlTypeCore()
Returns:

AutomationControlType

The enumeration value.

C#
protected override string GetClassNameCore()
Returns:

string

C#
protected override string GetHelpTextCore()
Returns:

string

C#
protected override string GetItemStatusCore()
Returns:

string

C#
protected override string GetItemTypeCore()
Returns:

string

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

C#
protected override string GetNameCore()
Returns:

string

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

Gets the control pattern for the UIElement that is associated with this .

C#
public override object GetPattern(PatternInterface patternInterface)
Parameters:patternInterfacePatternInterface

A value from the enumeration.

Returns:

object

Null.

C#
protected override int GetPositionInSetCore()
Returns:

int

C#
protected override int GetSizeOfSetCore()
Returns:

int

C#
protected override bool IsContentElementCore()
Returns:

bool

Sets the header's text.

C#
public void SetValue(string value)
Parameters:valuestring