ClassRadTreeView
Represents the Silverlight RadTreeView control wrapper.
Definition
Namespace:Telerik.WebAii.Controls.Xaml
Assembly:Telerik.WebAii.Controls.Xaml.dll
Syntax:
public class RadTreeView : ItemsControl, IAutomationPeer, IPeerConverter, IRadTreeView, IControl, IFrameworkElement, ITargetElement
Inheritance: objectAutomationObject<FrameworkElement>FrameworkElementSilverlightTestElementControlItemsControlRadTreeView
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
AllNodes
Get the list of all the treeview nodes.
Declaration
[Obsolete("The property is deprecated. Please use AllNodesElements instead.")]
public IList<RadTreeViewItem> AllNodes { get; }
Property Value
AllSelectedNodeElements
Get the list of all the treeview selected nodes.
Declaration
public IList<IRadTreeViewItem> AllSelectedNodeElements { get; }
Property Value
Implements
AllSelectedNodes
Get the list of all the treeview selected nodes.
Declaration
[Obsolete("The property is deprecated. Please use AllSelectedNodesElements instead.")]
public IList<RadTreeViewItem> AllSelectedNodes { get; }
Property Value
RootNodeElements
Gets the list of the RadTreeViewItem root nodes.
Declaration
public IList<IRadTreeViewItem> RootNodeElements { get; }
Property Value
Implements
RootNodes
Gets the list of the RadTreeViewItem root nodes.
Declaration
[Obsolete("The property is deprecated. Please use RootNodesElements instead.")]
public IList<RadTreeViewItem> RootNodes { get; }
Property Value
RootSelectedNodeElements
Get the list of all the root selected nodes.
Declaration
public IList<IRadTreeViewItem> RootSelectedNodeElements { get; }
Property Value
Implements
RootSelectedNodes
Get the list of all the root selected nodes.
Declaration
[Obsolete("The property is deprecated. Please use RootSelectedNodesElements instead.")]
public IList<RadTreeViewItem> RootSelectedNodes { get; }
Property Value
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.