Class RadTreeViewItemAutomationPeer
Exposes RadTreeViewItem types to UI Automation.
Inheritance
Namespace: Telerik.Windows.Automation.Peers
Assembly: Telerik.Windows.Controls.Navigation.dll
Syntax
public class RadTreeViewItemAutomationPeer : FrameworkElementAutomationPeer, IExpandCollapseProvider, ISelectionItemProvider, IValueProvider, IScrollItemProvider
Constructors
RadTreeViewItemAutomationPeer(RadTreeViewItem)
Initializes a new instance of the RadTreeViewItemAutomationPeer class.
Declaration
public RadTreeViewItemAutomationPeer(RadTreeViewItem owner)
Parameters
RadTreeViewItem
owner
The owner. |
Properties
IsReadOnly
Property used to store the IsEditable property of the RadTreeViewItem.
Declaration
public bool IsReadOnly { get; }
Property Value
System.Boolean
|
Owner
Overrides the Owner property.
Declaration
protected RadTreeViewItem Owner { get; }
Property Value
RadTreeViewItem
|
Value
Public property for the Header text of the RadTreeViewItemAutomationPeer.
Declaration
public string Value { get; }
Property Value
System.String
|
Methods
GetAutomationControlTypeCore()
Gets the control type for the System.Windows.UIElement that is associated with this System.Windows.Automation.Peers.UIElementAutomationPeer. This method is called by System.Windows.Automation.Peers.AutomationPeer.GetAutomationControlType.
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
System.Windows.Automation.Peers.AutomationControlType
The System.Windows.Automation.Peers.AutomationControlType.Custom enumeration value. |
GetClassNameCore()
Declaration
protected override string GetClassNameCore()
Returns
System.String
|
GetHelpTextCore()
Declaration
protected override string GetHelpTextCore()
Returns
System.String
|
GetItemStatusCore()
Declaration
protected override string GetItemStatusCore()
Returns
System.String
|
GetItemTypeCore()
Declaration
protected override string GetItemTypeCore()
Returns
System.String
|
GetNameCore()
Gets the text label of the System.Windows.ContentElement that is associated with this System.Windows.Automation.Peers.ContentElementAutomationPeer. Called by System.Windows.Automation.Peers.AutomationPeer.GetName.
Declaration
protected override string GetNameCore()
Returns
System.String
The text label of the element that is associated with this automation peer. |
GetPattern(PatternInterface)
Gets the control pattern for the System.Windows.UIElement that is associated with this System.Windows.Automation.Peers.FrameworkElementAutomationPeer.
Declaration
public override object GetPattern(PatternInterface patternInterface)
Parameters
System.Windows.Automation.Peers.PatternInterface
patternInterface
A value from the enumeration. |
Returns
System.Object
Null. |
GetPositionInSetCore()
Declaration
protected override int GetPositionInSetCore()
Returns
System.Int32
|
GetSizeOfSetCore()
Declaration
protected override int GetSizeOfSetCore()
Returns
System.Int32
|
IsContentElementCore()
Declaration
protected override bool IsContentElementCore()
Returns
System.Boolean
|
SetValue(String)
Sets the header's text.
Declaration
public void SetValue(string value)
Parameters
System.String
value
|