New to Telerik UI for WinFormsStart a free 30-day trial

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class RadTreeNodeCollection : NotifyCollection<RadTreeNode>, IList, ICollection, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged

Inheritance: objectCollection<RadTreeNode>NotifyCollection<RadTreeNode>RadTreeNodeCollection

Implements: ICollectionIEnumerableIListINotifyCollectionChangedINotifyPropertyChanged

Inherited Members NotifyCollection<RadTreeNode>.EmptyNotifyCollection<RadTreeNode>.Move(int, int)NotifyCollection<RadTreeNode>.AddRange(params RadTreeNode[])NotifyCollection<RadTreeNode>.AddRange(IEnumerable<RadTreeNode>)NotifyCollection<RadTreeNode>.BeginUpdate()NotifyCollection<RadTreeNode>.EndUpdate()NotifyCollection<RadTreeNode>.EndUpdate(bool)NotifyCollection<RadTreeNode>.DeferRefresh()NotifyCollection<RadTreeNode>.MoveItem(int, int)NotifyCollection<RadTreeNode>.CreateEventArguments(NotifyCollectionChangedAction)NotifyCollection<RadTreeNode>.CreateEventArguments(NotifyCollectionChangedAction, object, int)NotifyCollection<RadTreeNode>.CreateEventArguments(NotifyCollectionChangedAction, object, object, int)NotifyCollection<RadTreeNode>.OnPropertyChanged(PropertyChangedEventArgs)NotifyCollection<RadTreeNode>.OnPropertyChanged(string)NotifyCollection<RadTreeNode>.VersionNotifyCollection<RadTreeNode>.SuspendedNotifyCollection<RadTreeNode>.CollectionChangedNotifyCollection<RadTreeNode>.PropertyChangedCollection<RadTreeNode>.Add(RadTreeNode)Collection<RadTreeNode>.Clear()Collection<RadTreeNode>.CopyTo(RadTreeNode[], int)Collection<RadTreeNode>.Contains(RadTreeNode)Collection<RadTreeNode>.GetEnumerator()Collection<RadTreeNode>.IndexOf(RadTreeNode)Collection<RadTreeNode>.Insert(int, RadTreeNode)Collection<RadTreeNode>.Remove(RadTreeNode)Collection<RadTreeNode>.RemoveAt(int)Collection<RadTreeNode>.CountCollection<RadTreeNode>.ItemsCollection<RadTreeNode>.this[int]...

Properties

C#
protected bool IsEmpty { get; }
C#
protected bool NeedsRefresh { get; }

Gets the owner.

C#
[Browsable(false)]
public RadTreeNode Owner { get; }
Property Value:

The owner.

Gets the RadTreeNode with the specified name.

C#
public RadTreeNode this[string name] { get; }
Parameters:namestring

Gets the tree view.

C#
public RadTreeView TreeView { get; }
Property Value:

The tree view.

Methods

Adds the specified text.

C#
public virtual RadTreeNode Add(string text, int imageIndex)
Parameters:textstring

The text.

imageIndexint

Index of the image.

Returns:

RadTreeNode

Adds the specified key.

C#
public virtual RadTreeNode Add(string key, string text, int imageIndex)
Parameters:keystring

The key.

textstring

The text.

imageIndexint

Index of the image.

Returns:

RadTreeNode

Adds the specified key.

C#
public virtual RadTreeNode Add(string key, string text, string imageKey)
Parameters:keystring

The key.

textstring

The text.

imageKeystring

The image key.

Returns:

RadTreeNode

Adds the specified text.

C#
public virtual RadTreeNode Add(string text, string imageKey)
Parameters:textstring

The text.

imageKeystring

The image key.

Returns:

RadTreeNode

Adds the tree node with specified text.

C#
public RadTreeNode Add(string text)
Parameters:textstring

The text.

Returns:

RadTreeNode

C#
protected override void ClearItems()

Overrides: NotifyCollection<RadTreeNode>.ClearItems()

Determines whether [contains] [the specified name].

C#
public bool Contains(string name)
Parameters:namestring

The name.

Returns:

bool

true if [contains] [the specified name]; otherwise, false.

C#
public ITreeNodeEnumerator GetNodeEnumerator()
Returns:

ITreeNodeEnumerator

C#
public ITreeNodeEnumerator GetNodeEnumerator(int position)
Parameters:positionintReturns:

ITreeNodeEnumerator

C#
public ITreeNodeEnumerator GetNodeEnumerator(RadTreeNode node)
Parameters:nodeRadTreeNodeReturns:

ITreeNodeEnumerator

Indexes the of.

C#
public int IndexOf(string name)
Parameters:namestring

The name.

Returns:

int

C#
protected override void InsertItem(int index, RadTreeNode item)
Parameters:indexintitemRadTreeNode

Overrides: NotifyCollection<RadTreeNode>.InsertItem(int, RadTreeNode)

C#
protected override void OnCollectionChanged(NotifyCollectionChangedEventArgs args)
Parameters:argsNotifyCollectionChangedEventArgs

Overrides: NotifyCollection<RadTreeNode>.OnCollectionChanged(NotifyCollectionChangedEventArgs)

Refreshes this instance.

C#
public void Refresh()

Removes the specified name.

C#
public void Remove(string name)
Parameters:namestring

The name.

C#
protected override void RemoveItem(int index)
Parameters:indexint

Overrides: NotifyCollection<RadTreeNode>.RemoveItem(int)

C#
protected void ResetVersion()
C#
protected override void SetItem(int index, RadTreeNode item)
Parameters:indexintitemRadTreeNode

Overrides: NotifyCollection<RadTreeNode>.SetItem(int, RadTreeNode)

C#
protected void SyncVersion()
C#
protected void Update()