Class SettingsNodeCollection<T>
A Collection of SettingsNode items. Tunnels events from the items to the Parent. Does not raises SettingsChanged on collection change.
Inheritance
Namespace: Telerik.Pivot.Core
Assembly: Telerik.Pivot.Core.dll
Syntax
public class SettingsNodeCollection<T> : Collection<T>, IList<T>, ICollection<T>, IList, ICollection, IEnumerable<T>, IEnumerable where T : SettingsNode
Type Parameters
T
A class that inherits the SettingsNode. |
Constructors
SettingsNodeCollection(SettingsNode)
Initializes a new instance of the SettingsNodeCollection<T> class.
Declaration
public SettingsNodeCollection(SettingsNode parent)
Parameters
SettingsNode
parent
The parent SettingsNode. |
Properties
Parent
Gets the parent SettingsNode.
Declaration
public SettingsNode Parent { get; }
Property Value
SettingsNode
|
Methods
ClearItems()
Declaration
protected override void ClearItems()
InsertItem(Int32, T)
Declaration
protected override void InsertItem(int index, T item)
Parameters
System.Int32
index
|
T
item
|
NotifyChange(SettingsChangedEventArgs)
Notifies the Parent SettingsNode for a change.
Declaration
protected void NotifyChange(SettingsChangedEventArgs settingsEventArgs)
Parameters
SettingsChangedEventArgs
settingsEventArgs
The SettingsChangedEventArgs that contains the event data. |
RemoveItem(Int32)
Declaration
protected override void RemoveItem(int index)
Parameters
System.Int32
index
|
SetItem(Int32, T)
Declaration
protected override void SetItem(int index, T item)
Parameters
System.Int32
index
|
T
item
|