Class
RadTreeNodeCollection

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

cs-api-definition
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

IsEmpty

Declaration

cs-api-definition
protected bool IsEmpty { get; }

Property Value

bool

NeedsRefresh

Declaration

cs-api-definition
protected bool NeedsRefresh { get; }

Property Value

bool

Owner

Gets the owner.

Declaration

cs-api-definition
[Browsable(false)]
public RadTreeNode Owner { get; }

Property Value

RadTreeNode

The owner.

TreeView

Gets the tree view.

Declaration

cs-api-definition
public RadTreeView TreeView { get; }

Property Value

RadTreeView

The tree view.

this[string]

Gets the RadTreeNode with the specified name.

Declaration

cs-api-definition
public RadTreeNode this[string name] { get; }

Parameters

name

string

Property Value

RadTreeNode

Methods

Add(string)

Adds the tree node with specified text.

Declaration

cs-api-definition
public RadTreeNode Add(string text)

Parameters

text

string

The text.

Returns

RadTreeNode

Add(string, int)

Adds the specified text.

Declaration

cs-api-definition
public virtual RadTreeNode Add(string text, int imageIndex)

Parameters

text

string

The text.

imageIndex

int

Index of the image.

Returns

RadTreeNode

Add(string, string)

Adds the specified text.

Declaration

cs-api-definition
public virtual RadTreeNode Add(string text, string imageKey)

Parameters

text

string

The text.

imageKey

string

The image key.

Returns

RadTreeNode

Add(string, string, int)

Adds the specified key.

Declaration

cs-api-definition
public virtual RadTreeNode Add(string key, string text, int imageIndex)

Parameters

key

string

The key.

text

string

The text.

imageIndex

int

Index of the image.

Returns

RadTreeNode

Add(string, string, string)

Adds the specified key.

Declaration

cs-api-definition
public virtual RadTreeNode Add(string key, string text, string imageKey)

Parameters

key

string

The key.

text

string

The text.

imageKey

string

The image key.

Returns

RadTreeNode

ClearItems()

Declaration

cs-api-definition
protected override void ClearItems()

Overrides NotifyCollection<RadTreeNode>.ClearItems()

Contains(string)

Determines whether [contains] [the specified name].

Declaration

cs-api-definition
public bool Contains(string name)

Parameters

name

string

The name.

Returns

bool

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

GetNodeEnumerator()

Declaration

cs-api-definition
public ITreeNodeEnumerator GetNodeEnumerator()

Returns

ITreeNodeEnumerator

GetNodeEnumerator(RadTreeNode)

Declaration

cs-api-definition
public ITreeNodeEnumerator GetNodeEnumerator(RadTreeNode node)

Parameters

node

RadTreeNode

Returns

ITreeNodeEnumerator

GetNodeEnumerator(int)

Declaration

cs-api-definition
public ITreeNodeEnumerator GetNodeEnumerator(int position)

Parameters

position

int

Returns

ITreeNodeEnumerator

IndexOf(string)

Indexes the of.

Declaration

cs-api-definition
public int IndexOf(string name)

Parameters

name

string

The name.

Returns

int

InsertItem(int, RadTreeNode)

Declaration

cs-api-definition
protected override void InsertItem(int index, RadTreeNode item)

Parameters

index

int

item

RadTreeNode

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

OnCollectionChanged(NotifyCollectionChangedEventArgs)

Declaration

cs-api-definition
protected override void OnCollectionChanged(NotifyCollectionChangedEventArgs args)

Parameters

args

NotifyCollectionChangedEventArgs

Overrides NotifyCollection<RadTreeNode>.OnCollectionChanged(NotifyCollectionChangedEventArgs)

Refresh()

Refreshes this instance.

Declaration

cs-api-definition
public void Refresh()

Remove(string)

Removes the specified name.

Declaration

cs-api-definition
public void Remove(string name)

Parameters

name

string

The name.

RemoveItem(int)

Declaration

cs-api-definition
protected override void RemoveItem(int index)

Parameters

index

int

Overrides NotifyCollection<RadTreeNode>.RemoveItem(int)

ResetVersion()

Declaration

cs-api-definition
protected void ResetVersion()

SetItem(int, RadTreeNode)

Declaration

cs-api-definition
protected override void SetItem(int index, RadTreeNode item)

Parameters

index

int

item

RadTreeNode

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

SyncVersion()

Declaration

cs-api-definition
protected void SyncVersion()

Update()

Declaration

cs-api-definition
protected void Update()