[]
        
(Showing Draft Content)

C1.WPF.GanttView.BarStyleCollection

BarStyleCollection Class

Represents a collection of bar styles.

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

Constructors

Name Description
BarStyleCollection()

Methods

Name Description
ClearAndDispose()

Removes all styles from the collection, then disposes the styles.

ClearItems()

Removes all items from the collection.

IndexOf(BarType)

Searches for the specified bar type and returns the zero-based index of the first occurrence.

InsertItem(int, BarStyle)

Inserts an item at the specified index.

RemoveItem(int)

Removes the item at the specified index.

Search(BarType)

Searches for a BarStyle with the specified bar type.

SetItem(int, BarStyle)

Replaces the item at the specified index.