Class
SettingsNodeCollection<T>

A Collection of SettingsNode items. Tunnels events from the items to the Parent. Does not raises SettingsChanged on collection change.

Definition

Namespace:Telerik.Pivot.Core

Assembly:Telerik.Pivot.Core.dll

Type Parameters:

T

A class that inherits the SettingsNode.

Syntax:

cs-api-definition
public class SettingsNodeCollection<T> : Collection<T>, IReadOnlyList<T>, IReadOnlyCollection<T>, IList<T>, ICollection<T>, IEnumerable<T>, IList, ICollection, IEnumerable where T : SettingsNode

Inheritance: objectCollection<T>SettingsNodeCollection<T>

Implements: ICollectionICollection<T>IEnumerableIEnumerable<T>IListIList<T>IReadOnlyCollection<T>IReadOnlyList<T>

Inherited Members Collection<T>.Add(T)Collection<T>.Clear()Collection<T>.CopyTo(T[], int)Collection<T>.Contains(T)Collection<T>.GetEnumerator()Collection<T>.IndexOf(T)Collection<T>.Insert(int, T)Collection<T>.Remove(T)Collection<T>.RemoveAt(int)Collection<T>.CountCollection<T>.ItemsCollection<T>.this[int]

Constructors

SettingsNodeCollection(SettingsNode)

Initializes a new instance of the SettingsNodeCollection<T> class.

Declaration

cs-api-definition
public SettingsNodeCollection(SettingsNode parent)

Parameters

parent

SettingsNode

The parent SettingsNode.

Properties

Parent

Gets the parent SettingsNode.

Declaration

cs-api-definition
public SettingsNode Parent { get; }

Property Value

SettingsNode

Methods

ClearItems()

Declaration

cs-api-definition
protected override void ClearItems()

Overrides Collection<T>.ClearItems()

InsertItem(int, T)

Declaration

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

Parameters

index

int

item

T

Overrides Collection<T>.InsertItem(int, T)

NotifyChange(SettingsChangedEventArgs)

Notifies the Parent SettingsNode for a change.

Declaration

cs-api-definition
protected void NotifyChange(SettingsChangedEventArgs settingsEventArgs)

Parameters

settingsEventArgs

SettingsChangedEventArgs

The SettingsChangedEventArgs that contains the event data.

RemoveItem(int)

Declaration

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

Parameters

index

int

Overrides Collection<T>.RemoveItem(int)

SetItem(int, T)

Declaration

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

Parameters

index

int

item

T

Overrides Collection<T>.SetItem(int, T)