ClassRadTreeNodeCollection
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class RadTreeNodeCollection : NotifyCollection<RadTreeNode>, IList, ICollection, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged
Inheritance: objectCollection<RadTreeNode>NotifyCollection<RadTreeNode>RadTreeNodeCollection
Implements:
Inherited Members
Properties
Owner
Gets the owner.
Declaration
[Browsable(false)]
public RadTreeNode Owner { get; }
Property Value
The owner.
TreeView
Gets the tree view.
Declaration
public RadTreeView TreeView { get; }
Property Value
The tree view.
this[string]
Gets the RadTreeNode with the specified name.
Declaration
public RadTreeNode this[string name] { get; }
Parameters
name
Property Value
Methods
Add(string)
Adds the tree node with specified text.
Declaration
public RadTreeNode Add(string text)
Parameters
text
The text.
Returns
Add(string, int)
Adds the specified text.
Declaration
public virtual RadTreeNode Add(string text, int imageIndex)
Parameters
text
The text.
imageIndex
Index of the image.
Returns
Add(string, string)
Adds the specified text.
Declaration
public virtual RadTreeNode Add(string text, string imageKey)
Parameters
text
The text.
imageKey
The image key.
Returns
Add(string, string, int)
Adds the specified key.
Declaration
public virtual RadTreeNode Add(string key, string text, int imageIndex)
Parameters
key
The key.
text
The text.
imageIndex
Index of the image.
Returns
Add(string, string, string)
Adds the specified key.
Declaration
public virtual RadTreeNode Add(string key, string text, string imageKey)
Parameters
key
The key.
text
The text.
imageKey
The image key.
Returns
ClearItems()
Declaration
protected override void ClearItems()
Overrides
Contains(string)
Determines whether [contains] [the specified name].
GetNodeEnumerator()
Declaration
public ITreeNodeEnumerator GetNodeEnumerator()
Returns
GetNodeEnumerator(RadTreeNode)
Declaration
public ITreeNodeEnumerator GetNodeEnumerator(RadTreeNode node)
Parameters
node
Returns
GetNodeEnumerator(int)
Declaration
public ITreeNodeEnumerator GetNodeEnumerator(int position)
Parameters
position
Returns
IndexOf(string)
Indexes the of.
InsertItem(int, RadTreeNode)
Declaration
protected override void InsertItem(int index, RadTreeNode item)
Parameters
index
item
Overrides
OnCollectionChanged(NotifyCollectionChangedEventArgs)
Declaration
protected override void OnCollectionChanged(NotifyCollectionChangedEventArgs args)
Parameters
args
Overrides
Remove(string)
Removes the specified name.
RemoveItem(int)
Declaration
protected override void RemoveItem(int index)
Parameters
index
Overrides
ResetVersion()
Declaration
protected void ResetVersion()
SetItem(int, RadTreeNode)
Declaration
protected override void SetItem(int index, RadTreeNode item)
Parameters
index
item
Overrides
SyncVersion()
Declaration
protected void SyncVersion()
Update()
Declaration
protected void Update()