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