[]
        
(Showing Draft Content)

C1.GanttView.ColumnCollection

ColumnCollection Class

Represents a collection of grid columns.

Inheritance
ColumnCollection
Namespace: C1.GanttView
Assembly: C1.WPF.GanttView.dll
Syntax
[ListBindable(false)]
public class ColumnCollection : BindingList<BaseColumn>, IList<BaseColumn>, ICollection<BaseColumn>, IReadOnlyList<BaseColumn>, IReadOnlyCollection<BaseColumn>, IEnumerable<BaseColumn>, IBindingList, IList, ICollection, IEnumerable, ICancelAddNew, IRaiseItemChangedEvents

Methods

Name Description
AddNewCore()
ClearItems()

Removes all items from the collection.

IndexOf(TaskProperty)

Searches for the specified value of Property and returns the zero-based index of the corresponding column.

IndexOf(int)

Searches for the specified ID and returns the zero-based index of the corresponding column.

InsertItem(int, BaseColumn)

Inserts an item at the specified index.

RemoveItem(int)

Removes the item at the specified index.

Search(TaskProperty)

Searches for a TaskPropertyColumn with the specified value of Property.

Search(int)

Searches for a BaseColumn with the specified ID.

SetItem(int, BaseColumn)

Replaces the item at the specified index.