Table of Contents

Class CalendarColumnGroupCollection

Inheritance
CalendarColumnGroupCollection
Implements
Inherited Members
Namespace
TabularEditor.TOMWrapper
Assembly
TOMWrapper.dll

Collection class for CalendarColumnGroup. Provides convenient properties for setting a property on multiple objects at once.

public sealed class CalendarColumnGroupCollection : TabularObjectCollection<CalendarColumnGroup>, INotifyCollectionChanged, IHandlerObject, IReadOnlyList<CalendarColumnGroup>, IReadOnlyCollection<CalendarColumnGroup>, IEnumerable<CalendarColumnGroup>, IEnumerable
Extension Methods

Properties

Count

The number of items in this collection.

public override int Count { get; }

Property Value

Type Description
int

this[TimeUnit]

Gets the TimeUnitColumnAssociation for the specified TimeUnit. Throws KeyNotFoundException if no association is found.

public TimeUnitColumnAssociation this[TimeUnit key] { get; }

Parameters

Type Name Description
TimeUnit key

Property Value

Type Description
TimeUnitColumnAssociation

Exceptions

KeyNotFoundException

Methods

Find(TimeUnit)

Finds the first TimeUnitColumnAssociation in the collection that matches the specified TimeUnit. Returns null if no match is found.

public TimeUnitColumnAssociation Find(TimeUnit key)

Parameters

Type Name Description
TimeUnit key

Returns

Type Description
TimeUnitColumnAssociation

GetEnumerator()

Returns an enumerator that iterates through the collection.

public override IEnumerator<CalendarColumnGroup> GetEnumerator()

Returns

Type Description
IEnumerator<CalendarColumnGroup>

ToString()

Gets a string representation of the column group, showing the names of the primary columns mapped to each time unit.

public override string ToString()

Returns

Type Description
string