Class
GanttViewTextViewColumnCollection

Represents an observable collection of GanttViewTextViewColumn.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

cs-api-definition
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

GanttViewTextViewColumnCollection(RadGanttViewElement)

Initializes a new instance of the GanttViewTextViewColumnCollection class.

Declaration

cs-api-definition
public GanttViewTextViewColumnCollection(RadGanttViewElement owner)

Parameters

owner

RadGanttViewElement

The owner.

Properties

Owner

Gets the RadGanttViewElement that owns this collection.

Declaration

cs-api-definition
public RadGanttViewElement Owner { get; }

Property Value

RadGanttViewElement

The owner.

this[string]

Gets the GanttViewTextViewColumn with the specified column name.

Declaration

cs-api-definition
public GanttViewTextViewColumn this[string columnName] { get; }

Parameters

columnName

string

Name of the column.

Property Value

GanttViewTextViewColumn

The GanttViewTextViewColumn.

Methods

Add(string)

Adds a column with the specified name.

Declaration

cs-api-definition
public void Add(string name)

Parameters

name

string

The name.

Add(string, string)

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

Declaration

cs-api-definition
public void Add(string name, string headerText)

Parameters

name

string

The name.

headerText

string

The header text.

AddRange(GanttViewTextViewColumnCollection)

Adds the specified collection of columns to the collection.

Declaration

cs-api-definition
public virtual void AddRange(GanttViewTextViewColumnCollection columns)

Parameters

columns

GanttViewTextViewColumnCollection

The columns.

AddRange(params GanttViewTextViewColumn[])

Adds the specified collection of columns to the collection.

Declaration

cs-api-definition
public virtual void AddRange(params GanttViewTextViewColumn[] columns)

Parameters

columns

GanttViewTextViewColumn[]

The columns.

ClearItems()

Clears the items.

Declaration

cs-api-definition
protected override void ClearItems()

Overrides ObservableCollection<GanttViewTextViewColumn>.ClearItems()

Contains(string)

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

Declaration

cs-api-definition
public bool Contains(string columnName)

Parameters

columnName

string

Name of the column.

Returns

bool

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

GetUniqueName(string)

Gets a unique name for a column of the collection.

Declaration

cs-api-definition
public string GetUniqueName(string baseName)

Parameters

baseName

string

A base name to use.

Returns

string

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

cs-api-definition
public int IndexOf(string columnName)

Parameters

columnName

string

Name of the column.

Returns

int

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

InsertItem(int, GanttViewTextViewColumn, Action<GanttViewTextViewColumn>)

Inserts the item.

Declaration

cs-api-definition
protected override void InsertItem(int index, GanttViewTextViewColumn column, Action<GanttViewTextViewColumn> approvedAction)

Parameters

index

int

The index.

column

GanttViewTextViewColumn

The column.

approvedAction

Action<GanttViewTextViewColumn>

The approved action.

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

OnCollectionChanged(NotifyCollectionChangedEventArgs)

Raises the event.

Declaration

cs-api-definition
protected override void OnCollectionChanged(NotifyCollectionChangedEventArgs e)

Parameters

e

NotifyCollectionChangedEventArgs

The NotifyCollectionChangedEventArgs instance containing the event data.

Overrides ObservableCollection<GanttViewTextViewColumn>.OnCollectionChanged(NotifyCollectionChangedEventArgs)

Remove(string)

Removes a column with the specified column name.

Declaration

cs-api-definition
public void Remove(string columnName)

Parameters

columnName

string

Name of the column.

RemoveItem(int)

Removes the item.

Declaration

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

Parameters

index

int

The index.

Overrides ObservableCollection<GanttViewTextViewColumn>.RemoveItem(int)

Rename(string, string)

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

Declaration

cs-api-definition
public void Rename(string name, string newName)

Parameters

name

string

The name.

newName

string

The new name.