ClassRadTreeView
Represents the Wpf RadTreeView control wrapper.
Definition
Namespace:Telerik.WebAii.Controls.Xaml.Wpf
Assembly:Telerik.WebAii.Controls.Xaml.dll
Syntax:
public class RadTreeView : ItemsControl, IAutomationPeer, IPeerConverter, IRadTreeView, IControl, IFrameworkElement, ITargetElement
Inheritance: objectAutomationObject<FrameworkElement>FrameworkElementWpfTestElementControlItemsControlRadTreeView
Derived Classes:
Implements:
Inherited Members
Constructors
RadTreeView()
Initializes a new instance of the RadTreeView class.
Declaration
public RadTreeView()
Properties
AllNodeElements
Get the list of all the treeview nodes.
Declaration
public IList<IRadTreeViewItem> AllNodeElements { get; }
Property Value
Implements
AllSelectedNodeElements
Get the list of all the treeview selected nodes.
Declaration
public IList<IRadTreeViewItem> AllSelectedNodeElements { get; }
Property Value
Implements
RootNodeElements
Gets the list of the RadTreeViewItem root nodes.
Declaration
public IList<IRadTreeViewItem> RootNodeElements { get; }
Property Value
Implements
RootSelectedNodeElements
Get the list of all the root selected nodes.
Declaration
public IList<IRadTreeViewItem> RootSelectedNodeElements { get; }
Property Value
Implements
Methods
AssignReference(AutomationReference)
Assign the reference and perform your custom class initialization.
Declaration
public override void AssignReference(AutomationReference reference)
Parameters
reference
Overrides
Implements
FindNode(Predicate<FrameworkElement>)
Find a node by the given custom predicate.
Declaration
public RadTreeViewItem FindNode(Predicate<FrameworkElement> predicate)
Parameters
predicate
The predicate to search by.
Returns
The node found by the given predicate.
FindNodeByText(string)
Searches for a node in the tree view by given text.
Declaration
public RadTreeViewItem FindNodeByText(string nodeText)
Parameters
nodeText
The text of the node to search for.
Returns
The tree view item matching the given text.
ToggleNode(int)
Toggle the root node finding it by index.
Declaration
public void ToggleNode(int index)
Parameters
index
The index of the root node which state is going to be changed.
Exceptions
Thrown if the index is out of the sub nodes count range.