Class
RadTreeViewItemAutomationPeer

Exposes RadTreeViewItem types to UI Automation.

Definition

Namespace:Telerik.Windows.Automation.Peers

Assembly:Telerik.Windows.Controls.Navigation.dll

Syntax:

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

Inheritance: objectRadTreeViewItemAutomationPeer

Derived Classes: RadPanelBarItemAutomationPeer

Implements: IExpandCollapseProviderIScrollItemProviderISelectionItemProviderIValueProvider

Constructors

RadTreeViewItemAutomationPeer(RadTreeViewItem)

Initializes a new instance of the RadTreeViewItemAutomationPeer class.

Declaration

cs-api-definition
public RadTreeViewItemAutomationPeer(RadTreeViewItem owner)

Parameters

owner

RadTreeViewItem

The owner.

Properties

IsReadOnly

Property used to store the IsEditable property of the RadTreeViewItem.

Declaration

cs-api-definition
public bool IsReadOnly { get; }

Property Value

bool

Owner

Overrides the Owner property.

Declaration

cs-api-definition
protected RadTreeViewItem Owner { get; }

Property Value

RadTreeViewItem

Value

Public property for the Header text of the RadTreeViewItemAutomationPeer.

Declaration

cs-api-definition
public string Value { get; }

Property Value

string

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.

GetClassNameCore()

Declaration

cs-api-definition
protected override string GetClassNameCore()

Returns

string

GetHelpTextCore()

Declaration

cs-api-definition
protected override string GetHelpTextCore()

Returns

string

GetItemStatusCore()

Declaration

cs-api-definition
protected override string GetItemStatusCore()

Returns

string

GetItemTypeCore()

Declaration

cs-api-definition
protected override string GetItemTypeCore()

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.

GetPattern(PatternInterface)

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

Declaration

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

Parameters

patternInterface

PatternInterface

A value from the enumeration.

Returns

object

Null.

GetPositionInSetCore()

Declaration

cs-api-definition
protected override int GetPositionInSetCore()

Returns

int

GetSizeOfSetCore()

Declaration

cs-api-definition
protected override int GetSizeOfSetCore()

Returns

int

IsContentElementCore()

Declaration

cs-api-definition
protected override bool IsContentElementCore()

Returns

bool

SetValue(string)

Sets the header's text.

Declaration

cs-api-definition
public void SetValue(string value)

Parameters

value

string