Class GanttViewTextViewColumnCollection
Represents an observable collection of Gantt
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class GanttViewTextViewColumnCollection : ObservableCollection<GanttViewTextViewColumn>, IList<GanttViewTextViewColumn>, ICollection<GanttViewTextViewColumn>, IReadOnlyList<GanttViewTextViewColumn>, IReadOnlyCollection<GanttViewTextViewColumn>, IEnumerable<GanttViewTextViewColumn>, IList, ICollection, IEnumerable, INotifyCollectionChanged, INotifyCollectionChanging, INotifyPropertyChanged, INotifyPropertyChangingEx
Constructors
GanttViewTextViewColumnCollection(RadGanttViewElement)
Initializes a new instance of the Gantt
Declaration
public GanttViewTextViewColumnCollection(RadGanttViewElement owner)
Parameters
Rad The owner. |
Properties
Item[String]
Gets the Gantt
Declaration
public GanttViewTextViewColumn this[string columnName] { get; }
Parameters
System. Name of the column. |
Property Value
Owner
Gets the Rad
Declaration
public RadGanttViewElement Owner { get; }
Property Value
Rad The owner. |
Methods
Add(String)
Adds a column with the specified name.
Declaration
public void Add(string name)
Parameters
System. The name. |
Add(String, String)
Adds a column with the the specified name and header text.
Declaration
public void Add(string name, string headerText)
Parameters
System. The name. |
System. The header text. |
AddRange(GanttViewTextViewColumn[])
Adds the specified collection of columns to the collection.
Declaration
public virtual void AddRange(params GanttViewTextViewColumn[] columns)
Parameters
Gantt The columns. |
AddRange(GanttViewTextViewColumnCollection)
Adds the specified collection of columns to the collection.
Declaration
public virtual void AddRange(GanttViewTextViewColumnCollection columns)
Parameters
Gantt 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.
Declaration
public bool Contains(string columnName)
Parameters
System. Name of the column. |
Returns
System.
|
GetUniqueName(String)
Gets a unique name for a column of the collection.
Declaration
public string GetUniqueName(string baseName)
Parameters
System. A base name to use. |
Returns
System. the unique name for the collection. |
IndexOf(String)
Gets the index of the column with the specified name or -1 if the column is not found.
Declaration
public int IndexOf(string columnName)
Parameters
System. Name of the column. |
Returns
System. The index of the column if found otherwise returns -1. |
InsertItem(Int32, GanttViewTextViewColumn, Action<GanttViewTextViewColumn>)
Inserts the item.
Declaration
protected override void InsertItem(int index, GanttViewTextViewColumn column, Action<GanttViewTextViewColumn> approvedAction)
Parameters
System. The index. |
Gantt The column. |
System. The approved action. |
Overrides
OnCollectionChanged(NotifyCollectionChangedEventArgs)
Raises the Collection
Declaration
protected override void OnCollectionChanged(NotifyCollectionChangedEventArgs e)
Parameters
Notify The Notify |
Overrides
Remove(String)
Removes a column with the specified column name.
Declaration
public void Remove(string columnName)
Parameters
System. Name of the column. |
RemoveItem(Int32)
Removes the item.
Declaration
protected override void RemoveItem(int index)
Parameters
System. The index. |
Overrides
Rename(String, String)
Renames the column with the specified name with the new name.
Declaration
public void Rename(string name, string newName)
Parameters
System. The name. |
System. The new name. |