Class
RadTreeView

Represents the Silverlight RadTreeView control wrapper.

Definition

Namespace:Telerik.WebAii.Controls.Xaml

Assembly:Telerik.WebAii.Controls.Xaml.dll

Syntax:

cs-api-definition
public class RadTreeView : ItemsControl, IAutomationPeer, IPeerConverter, IRadTreeView, IControl, IFrameworkElement, ITargetElement

Inheritance: objectAutomationObject<FrameworkElement>FrameworkElementSilverlightTestElementControlItemsControlRadTreeView

Implements: IAutomationPeerIControlIFrameworkElementIPeerConverterIRadTreeViewITargetElement

Inherited Members ItemsControl.DisplayMemberPathPropertyItemsControl.GetRealType()ItemsControl.DisplayMemberPathControl.IsTabStopPropertyControl.TabIndexPropertyControl.TabNavigationPropertyControl.PaddingPropertyControl.HorizontalContentAlignmentPropertyControl.VerticalContentAlignmentPropertyControl.BackgroundPropertyControl.BorderBrushPropertyControl.BorderThicknessPropertyControl.FontSizePropertyControl.ForegroundPropertyControl.IsEnabledPropertyControl.FontFamilyPropertyControl.FontStretchPropertyControl.FontStylePropertyControl.FontWeightPropertyControl.IsTabStopControl.TabIndexControl.TabNavigationControl.PaddingControl.HorizontalContentAlignmentControl.VerticalContentAlignmentControl.BackgroundControl.BorderBrushControl.BorderThicknessControl.FontSizeControl.ForegroundControl.IsEnabledControl.FontFamilyControl.FontStretchControl.FontStyleControl.FontWeightSilverlightTestElement.UseLayoutRoundingPropertySilverlightTestElement.UseLayoutRoundingFrameworkElement.ActualWidthPropertyFrameworkElement.ActualHeightPropertyFrameworkElement.WidthPropertyFrameworkElement.HeightPropertyFrameworkElement.MinWidthPropertyFrameworkElement.MaxWidthPropertyFrameworkElement.MinHeightPropertyFrameworkElement.MaxHeightPropertyFrameworkElement.HorizontalAlignmentPropertyFrameworkElement.VerticalAlignmentPropertyFrameworkElement.MarginPropertyFrameworkElement.DesiredSizePropertyFrameworkElement.RenderSizePropertyFrameworkElement.NamePropertyFrameworkElement.TagPropertyFrameworkElement.DataContextPropertyFrameworkElement.OpacityPropertyFrameworkElement.ClipPropertyFrameworkElement.RenderTransformPropertyFrameworkElement.OpacityMaskPropertyFrameworkElement.RenderTransformOriginPropertyFrameworkElement.IsHitTestVisiblePropertyFrameworkElement.VisibilityPropertyFrameworkElement.GetIdentifier(out string, out string)FrameworkElement.IsChild(FrameworkElement)FrameworkElement.GetChildTagIndex(FrameworkElement)FrameworkElement.InitializeMappings(MappingsCollection)FrameworkElement.As<T>()FrameworkElement.CastAs<T>()FrameworkElement.SetProxy(bool)FrameworkElement.SetUid(string)FrameworkElement.SetFindInfo(VisualFindInfo)FrameworkElement.SetXamlTag(string)FrameworkElement.KeyPress(Keys, int, int, int)FrameworkElement.GetRectangle()FrameworkElement.GetRectangle(FrameworkElement)FrameworkElement.GetIntRectangle()FrameworkElement.IsHitTest()FrameworkElement.IsHitTest(bool)FrameworkElement.IsHitTest(FrameworkElement, bool)FrameworkElement.Highlight()FrameworkElement.Highlight(bool)FrameworkElement.Parent()FrameworkElement.Parent<T>()FrameworkElement.Parent(string)FrameworkElement.Parent(string, bool)FrameworkElement.GetNextSibling()FrameworkElement.GetPrevSibling()FrameworkElement.NextSibling(string)FrameworkElement.NextSibling<T>()FrameworkElement.PreviousSibling(string)FrameworkElement.PreviousSibling<T>()FrameworkElement.AnySibling<T>()FrameworkElement.AnySibling(string)FrameworkElement.GetScreenRectangle()FrameworkElement.ScrollToVisible()FrameworkElement.ScrollToVisible(ScrollToVisibleType)FrameworkElement.EnsureClickable()FrameworkElement.ToXml()FrameworkElement.Refresh()FrameworkElement.Equals(object)FrameworkElement.GetHashCode()FrameworkElement.GetProperties()FrameworkElement.GetAttachedProperty<T>(string, string)FrameworkElement.SetAttachedProperty<T>(string, string, T)FrameworkElement.SetFocus()FrameworkElement.ValidateMouseLocationIfNeeded(Point)FrameworkElement.GetStringPresentation()FrameworkElement.ToRealObject()FrameworkElement.FromRealObject(object)FrameworkElement.ValidateType(Type, string)FrameworkElement.GetKnownControlTypes(TechnologyType)FrameworkElement.RegisterElement(Type, string)FrameworkElement.InitKnownWpfControlTypes()FrameworkElement.InitKnownSilverlightControlTypes()FrameworkElement.InitKnownXamlControlTypes(Type)FrameworkElement.GetControlTypeFromInterface(Type)FrameworkElement.Match(IFindExpression)FrameworkElement.SetDepth(int)FrameworkElement.AddChildNode(ITargetElement)FrameworkElement.SetClosingTag(ITargetElement)FrameworkElement.GetChildren()FrameworkElement.GetParent()FrameworkElement.GetHostParent()FrameworkElement.SetParent(ITargetElement)FrameworkElement.GetUniqueHashCode()FrameworkElement.ToString()FrameworkElement.Capture()FrameworkElement.CaptureImage()FrameworkElement.GetProperty<T>(string)FrameworkElement.GetPropertyTypeSafe(string)FrameworkElement.GetAutomationProperty(string)FrameworkElement.SetProperty(string, object)FrameworkElement.ActualWidthFrameworkElement.ActualHeightFrameworkElement.WidthFrameworkElement.HeightFrameworkElement.MinWidthFrameworkElement.MaxWidthFrameworkElement.MinHeightFrameworkElement.MaxHeightFrameworkElement.HorizontalAlignmentFrameworkElement.VerticalAlignmentFrameworkElement.MarginFrameworkElement.DesiredSizeFrameworkElement.RenderSizeFrameworkElement.NameFrameworkElement.OpacityFrameworkElement.ClipFrameworkElement.RenderTransformFrameworkElement.OpacityMaskFrameworkElement.RenderTransformOriginFrameworkElement.IsHitTestVisibleFrameworkElement.VisibilityFrameworkElement.UidFrameworkElement.MappingsFrameworkElement.AutomationIdFrameworkElement.XamlTagBaseFrameworkElement.TextFrameworkElement.TextBlockContentFrameworkElement.TextLiteralContentFrameworkElement.UserFrameworkElement.XamlTagFrameworkElement.WaitFrameworkElement.FindFrameworkElement.ApplicationFrameworkElement.AbsoluteTagIndexFrameworkElement.TagNameIndexFrameworkElement.AbsoluteSiblingTagIndexFrameworkElement.EnableValidateMouseLocationFrameworkElement.ToolTipTextFrameworkElement.ComputedVisibilityFrameworkElement.IsVisibleFrameworkElement.ChildrenFrameworkElement.TechnologyTypeFrameworkElement.DepthFrameworkElement.IsTestRegionFrameworkElement.ParsedElementFrameworkElement.HostAutomationObject<FrameworkElement>.GetProperty(AutomationProperty)AutomationObject<FrameworkElement>.GetProperty(AutomationProperty, object)AutomationObject<FrameworkElement>.SetProperty(AutomationProperty, object)AutomationObject<FrameworkElement>.InvokeMethod(AutomationMethod, params object[])AutomationObject<FrameworkElement>.InvokeMethod(string, params object[])AutomationObject<FrameworkElement>.Serialize()AutomationObject<FrameworkElement>.Deserialize(string)AutomationObject<FrameworkElement>.ReferenceAutomationObject<FrameworkElement>.PropertyBag

Constructors

RadTreeView()

Initializes a new instance of the RadTreeView class.

Declaration

cs-api-definition
public RadTreeView()

Properties

AllNodeElements

Get the list of all the treeview nodes.

Declaration

cs-api-definition
public IList<IRadTreeViewItem> AllNodeElements { get; }

Property Value

IList<IRadTreeViewItem>

Implements IRadTreeView.AllNodeElements

AllNodes

Get the list of all the treeview nodes.

Declaration

cs-api-definition
[Obsolete("The property is deprecated. Please use AllNodesElements instead.")]
public IList<RadTreeViewItem> AllNodes { get; }

Property Value

IList<RadTreeViewItem>

AllSelectedNodeElements

Get the list of all the treeview selected nodes.

Declaration

cs-api-definition
public IList<IRadTreeViewItem> AllSelectedNodeElements { get; }

Property Value

IList<IRadTreeViewItem>

Implements IRadTreeView.AllSelectedNodeElements

AllSelectedNodes

Get the list of all the treeview selected nodes.

Declaration

cs-api-definition
[Obsolete("The property is deprecated. Please use AllSelectedNodesElements instead.")]
public IList<RadTreeViewItem> AllSelectedNodes { get; }

Property Value

IList<RadTreeViewItem>

RootNodeElements

Gets the list of the RadTreeViewItem root nodes.

Declaration

cs-api-definition
public IList<IRadTreeViewItem> RootNodeElements { get; }

Property Value

IList<IRadTreeViewItem>

Implements IRadTreeView.RootNodeElements

RootNodes

Gets the list of the RadTreeViewItem root nodes.

Declaration

cs-api-definition
[Obsolete("The property is deprecated. Please use RootNodesElements instead.")]
public IList<RadTreeViewItem> RootNodes { get; }

Property Value

IList<RadTreeViewItem>

RootSelectedNodeElements

Get the list of all the root selected nodes.

Declaration

cs-api-definition
public IList<IRadTreeViewItem> RootSelectedNodeElements { get; }

Property Value

IList<IRadTreeViewItem>

Implements IRadTreeView.RootSelectedNodeElements

RootSelectedNodes

Get the list of all the root selected nodes.

Declaration

cs-api-definition
[Obsolete("The property is deprecated. Please use RootSelectedNodesElements instead.")]
public IList<RadTreeViewItem> RootSelectedNodes { get; }

Property Value

IList<RadTreeViewItem>

Methods

AssignReference(AutomationReference)

Assign the reference and perform your custom class initialization.

Declaration

cs-api-definition
public override void AssignReference(AutomationReference reference)

Parameters

reference

AutomationReference

Overrides FrameworkElement.AssignReference(AutomationReference)

Implements IFrameworkElement.AssignReference(AutomationReference)

FindNode(Predicate<FrameworkElement>)

Find a node by the given custom predicate.

Declaration

cs-api-definition
public RadTreeViewItem FindNode(Predicate<FrameworkElement> predicate)

Parameters

predicate

Predicate<FrameworkElement>

The predicate to search by.

Returns

RadTreeViewItem

The node found by the given predicate.

FindNodeByText(string)

Searches for a node in the tree view by given text.

Declaration

cs-api-definition
public RadTreeViewItem FindNodeByText(string nodeText)

Parameters

nodeText

string

The text of the node to search for.

Returns

RadTreeViewItem

The tree view item matching the given text.

ToggleNode(int)

Toggle the root node finding it by index.

Declaration

cs-api-definition
public void ToggleNode(int index)

Parameters

index

int

The index of the root node which state is going to be changed.

Exceptions

ArgumentOutOfRangeException

Thrown if the index is out of the sub nodes count range.