New to Telerik UI for WinFormsStart a free 30-day trial

Represents an observable collection of GanttViewTextViewColumn.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class GanttViewTextViewColumnCollection : ObservableCollection<GanttViewTextViewColumn>, IList, ICollection, IEnumerable, INotifyCollectionChanged, INotifyCollectionChanging, INotifyPropertyChanged, INotifyPropertyChangingEx

Inheritance: objectCollection<GanttViewTextViewColumn>ObservableCollection<GanttViewTextViewColumn>GanttViewTextViewColumnCollection

Implements: ICollectionIEnumerableIListINotifyCollectionChangedINotifyCollectionChangingINotifyPropertyChangedINotifyPropertyChangingEx...

Inherited Members ObservableCollection<GanttViewTextViewColumn>.CountStringObservableCollection<GanttViewTextViewColumn>.ItemArrayStringObservableCollection<GanttViewTextViewColumn>.InsertItem(int, GanttViewTextViewColumn)ObservableCollection<GanttViewTextViewColumn>.Move(int, int)ObservableCollection<GanttViewTextViewColumn>.MoveItem(int, int)ObservableCollection<GanttViewTextViewColumn>.BeginUpdate()ObservableCollection<GanttViewTextViewColumn>.BeginItemUpdate()ObservableCollection<GanttViewTextViewColumn>.EndItemUpdate()ObservableCollection<GanttViewTextViewColumn>.EndItemUpdate(bool)ObservableCollection<GanttViewTextViewColumn>.EndUpdate(bool)ObservableCollection<GanttViewTextViewColumn>.EndUpdate()ObservableCollection<GanttViewTextViewColumn>.NotifyListenersCollectionChanged(NotifyCollectionChangedEventArgs)ObservableCollection<GanttViewTextViewColumn>.CallCollectionChanged(object, NotifyCollectionChangedEventArgs)ObservableCollection<GanttViewTextViewColumn>.OnCollectionChanging(NotifyCollectionChangingEventArgs)ObservableCollection<GanttViewTextViewColumn>.NotifyListenersCollectionChanging(NotifyCollectionChangingEventArgs)ObservableCollection<GanttViewTextViewColumn>.CallCollectionChanging(object, NotifyCollectionChangingEventArgs)ObservableCollection<GanttViewTextViewColumn>.SetItem(int, GanttViewTextViewColumn)ObservableCollection<GanttViewTextViewColumn>.AddRange(IEnumerable<GanttViewTextViewColumn>)ObservableCollection<GanttViewTextViewColumn>.RemoveRange(IEnumerable<GanttViewTextViewColumn>)ObservableCollection<GanttViewTextViewColumn>.OnCollectionChanged(NotifyCollectionChangedAction, object, int)ObservableCollection<GanttViewTextViewColumn>.OnCollectionChanged(NotifyCollectionChangedAction, object, int, int)ObservableCollection<GanttViewTextViewColumn>.OnCollectionChanged(NotifyCollectionChangedAction, object, object, int)ObservableCollection<GanttViewTextViewColumn>.OnCollectionReset(IList)ObservableCollection<GanttViewTextViewColumn>.OnCollectionChanging(NotifyCollectionChangedAction, object, int)ObservableCollection<GanttViewTextViewColumn>.OnCollectionChanging(NotifyCollectionChangedAction, object, int, int)ObservableCollection<GanttViewTextViewColumn>.OnCollectionChanging(NotifyCollectionChangedAction, object, object, int)ObservableCollection<GanttViewTextViewColumn>.OnCollectionReseting()ObservableCollection<GanttViewTextViewColumn>.OnNotifyPropertyChanged(string)ObservableCollection<GanttViewTextViewColumn>.OnNotifyPropertyChanged(PropertyChangedEventArgs)ObservableCollection<GanttViewTextViewColumn>.OnNotifyPropertyChanging(string)ObservableCollection<GanttViewTextViewColumn>.OnNotifyPropertyChanging(PropertyChangingEventArgsEx)ObservableCollection<GanttViewTextViewColumn>.IsUpdatedObservableCollection<GanttViewTextViewColumn>.CollectionChangedObservableCollection<GanttViewTextViewColumn>.CollectionChangingObservableCollection<GanttViewTextViewColumn>.PropertyChangedObservableCollection<GanttViewTextViewColumn>.PropertyChangingCollection<GanttViewTextViewColumn>.Add(GanttViewTextViewColumn)Collection<GanttViewTextViewColumn>.Clear()Collection<GanttViewTextViewColumn>.CopyTo(GanttViewTextViewColumn[], int)Collection<GanttViewTextViewColumn>.Contains(GanttViewTextViewColumn)Collection<GanttViewTextViewColumn>.GetEnumerator()Collection<GanttViewTextViewColumn>.IndexOf(GanttViewTextViewColumn)Collection<GanttViewTextViewColumn>.Insert(int, GanttViewTextViewColumn)Collection<GanttViewTextViewColumn>.Remove(GanttViewTextViewColumn)Collection<GanttViewTextViewColumn>.RemoveAt(int)Collection<GanttViewTextViewColumn>.CountCollection<GanttViewTextViewColumn>.ItemsCollection<GanttViewTextViewColumn>.this[int]...

Constructors

Initializes a new instance of the GanttViewTextViewColumnCollection class.

C#
public GanttViewTextViewColumnCollection(RadGanttViewElement owner)
Parameters:ownerRadGanttViewElement

The owner.

Properties

Gets the RadGanttViewElement that owns this collection.

C#
public RadGanttViewElement Owner { get; }
Property Value:

The owner.

Gets the GanttViewTextViewColumn with the specified column name.

C#
public GanttViewTextViewColumn this[string columnName] { get; }
Parameters:columnNamestring

Name of the column.

Property Value:

The GanttViewTextViewColumn.

Methods

Adds a column with the the specified name and header text.

C#
public void Add(string name, string headerText)
Parameters:namestring

The name.

headerTextstring

The header text.

Adds a column with the specified name.

C#
public void Add(string name)
Parameters:namestring

The name.

Adds the specified collection of columns to the collection.

C#
public virtual void AddRange(GanttViewTextViewColumnCollection columns)
Parameters:columnsGanttViewTextViewColumnCollection

The columns.

Adds the specified collection of columns to the collection.

C#
public virtual void AddRange(params GanttViewTextViewColumn[] columns)
Parameters:columnsGanttViewTextViewColumn[]

The columns.

Clears the items.

C#
protected override void ClearItems()

Overrides: ObservableCollection<GanttViewTextViewColumn>.ClearItems()

Determines whether the collection contains a column with the specified column name.

C#
public bool Contains(string columnName)
Parameters:columnNamestring

Name of the column.

Returns:

bool

true if a column with the specified name is contained in the collection; otherwise, false.

Gets a unique name for a column of the collection.

C#
public string GetUniqueName(string baseName)
Parameters:baseNamestring

A base name to use.

Returns:

string

the unique name for the collection.

Gets the index of the column with the specified name or -1 if the column is not found.

C#
public int IndexOf(string columnName)
Parameters:columnNamestring

Name of the column.

Returns:

int

The index of the column if found otherwise returns -1.

Inserts the item.

C#
protected override void InsertItem(int index, GanttViewTextViewColumn column, Action<GanttViewTextViewColumn> approvedAction)
Parameters:indexint

The index.

columnGanttViewTextViewColumn

The column.

approvedActionAction<GanttViewTextViewColumn>

The approved action.

Overrides: ObservableCollection<GanttViewTextViewColumn>.InsertItem(int, GanttViewTextViewColumn, Action<GanttViewTextViewColumn>)

Raises the event.

C#
protected override void OnCollectionChanged(NotifyCollectionChangedEventArgs e)
Parameters:eNotifyCollectionChangedEventArgs

The NotifyCollectionChangedEventArgs instance containing the event data.

Overrides: ObservableCollection<GanttViewTextViewColumn>.OnCollectionChanged(NotifyCollectionChangedEventArgs)

Removes a column with the specified column name.

C#
public void Remove(string columnName)
Parameters:columnNamestring

Name of the column.

Removes the item.

C#
protected override void RemoveItem(int index)
Parameters:indexint

The index.

Overrides: ObservableCollection<GanttViewTextViewColumn>.RemoveItem(int)

Renames the column with the specified name with the new name.

C#
public void Rename(string name, string newName)
Parameters:namestring

The name.

newNamestring

The new name.