[]
        
(Showing Draft Content)

C1.Schedule.DayCollection

DayCollection Class

Collection of all days in the C1Schedule component.

Inheritance
DayCollection
Namespace: C1.Schedule
Assembly: C1.ScheduleCore.dll
Syntax
public class DayCollection : KeyedCollection<DateTime, Day>, IList<Day>, ICollection<Day>, IList, ICollection, IReadOnlyList<Day>, IReadOnlyCollection<Day>, IEnumerable<Day>, IEnumerable

Properties

Name Description
BoldedDates

Returns collection of dates which have appointments.

this[DateTime]

Methods

Name Description
ClearItems()
GetFirstWeekDay(DateTime)

Returns the first day of week, containing specified date.

GetKeyForItem(Day)

Extracts the key from the specified element.

GetLastWeekDay(DateTime)

Returns the last day of week, containing specified date.

RemoveItem(int)

Events

Name Description
BoldedDatesChanged

Occurs when the BoldedDates collection has been changed.