ClassGanttViewTextViewColumnCollection
Represents an observable collection of GanttViewTextViewColumn.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class GanttViewTextViewColumnCollection : ObservableCollection<GanttViewTextViewColumn>, IList, ICollection, IEnumerable, INotifyCollectionChanged, INotifyCollectionChanging, INotifyPropertyChanged, INotifyPropertyChangingEx
Inheritance: objectCollection<GanttViewTextViewColumn>ObservableCollection<GanttViewTextViewColumn>GanttViewTextViewColumnCollection
Implements:
Inherited Members
Constructors
GanttViewTextViewColumnCollection(RadGanttViewElement)
Initializes a new instance of the GanttViewTextViewColumnCollection class.
Declaration
public GanttViewTextViewColumnCollection(RadGanttViewElement owner)
Parameters
owner
The owner.
Properties
Owner
Gets the RadGanttViewElement that owns this collection.
Declaration
public RadGanttViewElement Owner { get; }
Property Value
The owner.
this[string]
Gets the GanttViewTextViewColumn with the specified column name.
Declaration
public GanttViewTextViewColumn this[string columnName] { get; }
Parameters
columnName
Name of the column.
Property Value
Methods
Add(string)
Adds a column with the specified name.
Add(string, string)
Adds a column with the the specified name and header text.
AddRange(GanttViewTextViewColumnCollection)
Adds the specified collection of columns to the collection.
Declaration
public virtual void AddRange(GanttViewTextViewColumnCollection columns)
Parameters
columns
GanttViewTextViewColumnCollection
The columns.
AddRange(params GanttViewTextViewColumn[])
Adds the specified collection of columns to the collection.
Declaration
public virtual void AddRange(params GanttViewTextViewColumn[] columns)
Parameters
columns
The columns.
ClearItems()
Clears the items.
Declaration
protected override void ClearItems()
Overrides
Contains(string)
Determines whether the collection contains a column with the specified column name.
GetUniqueName(string)
Gets a unique name for a column of the collection.
IndexOf(string)
Gets the index of the column with the specified name or -1 if the column is not found.
InsertItem(int, GanttViewTextViewColumn, Action<GanttViewTextViewColumn>)
Inserts the item.
Declaration
protected override void InsertItem(int index, GanttViewTextViewColumn column, Action<GanttViewTextViewColumn> approvedAction)
Parameters
index
The index.
column
The column.
approvedAction
Action<GanttViewTextViewColumn>
The approved action.
Overrides
OnCollectionChanged(NotifyCollectionChangedEventArgs)
Raises the event.
Declaration
protected override void OnCollectionChanged(NotifyCollectionChangedEventArgs e)
Parameters
e
NotifyCollectionChangedEventArgs
The NotifyCollectionChangedEventArgs instance containing the event data.
Overrides
Remove(string)
Removes a column with the specified column name.
Declaration
public void Remove(string columnName)
Parameters
columnName
Name of the column.
RemoveItem(int)
Removes the item.
Declaration
protected override void RemoveItem(int index)
Parameters
index
The index.
Overrides
Rename(string, string)
Renames the column with the specified name with the new name.