[]
        
(Showing Draft Content)

C1.GanttView.WorkWeekCollection

WorkWeekCollection Class

Represents a collection of work weeks.

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

Constructors

Name Description
WorkWeekCollection()

Initializes a new instance of the WorkWeekCollection class.

Methods

Name Description
ClearItems()

Removes all items from the collection.

IndexOf(string)

Searches for the specified Name and returns the zero-based index of the corresponding work week.

InsertItem(int, WorkWeek)

Inserts an item at the specified index.

RemoveItem(int)

Removes the item at the specified index.

Search(string)

Searches for a WorkWeek with the specified Name.

SetItem(int, WorkWeek)

Replaces the item at the specified index.