TreeNodeProvider
Supplies child nodes to a tree view when a node's child collection is requested.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public abstract class TreeNodeProvider : IDisposable
Inheritance: objectTreeNodeProvider
Implements:
Constructors
Creates a provider associated with the specified tree view element.
public TreeNodeProvider(RadTreeViewElement treeView)
The element whose nodes this provider supplies.
Properties
Gets a value indicating whether this instance is suspended.
public bool IsSuspended { get; }
true if this instance is suspended; otherwise, false.
Gets or sets a value indicating weather the changes in the child collections in Object Relational Binding mode will be reflected automatically.
public bool ReflectInnerObjectRelationChanges { get; set; }
Gets the tree view.
public RadTreeViewElement TreeView { get; }
The tree view.
Methods
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public virtual void Dispose()
Implements:
Gets the child nodes to load for a parent.
public abstract IList<RadTreeNode> GetNodes(RadTreeNode parent)
The node whose child collection is being loaded; null can represent the root.
Returns:IList<RadTreeNode>
The child nodes to add, or null or an empty list when there are no nodes to add.
Resets this instance.
public virtual void Reset()
Resumes the update.
public virtual void ResumeUpdate()
Sets the current.
Suspends the update.
public virtual void SuspendUpdate()