[]
        
(Showing Draft Content)

C1.WPF.Schedule.CalendarHelper

CalendarHelper Class

Provides auxiliary properties providing calendar specific information.

Inheritance
CalendarHelper
Namespace: C1.WPF.Schedule
Assembly: C1.WPF.Schedule.4.6.2.dll
Syntax
public class CalendarHelper : DependencyObject, INotifyPropertyChanged, IWeakEventListener

Constructors

Name Description
CalendarHelper()

Initializes a new instance of the CalendarHelper class.

Properties

Name Description
DateTimeKind

Gets or sets a DateTimeKind value specifying DateTime kind used for saving DateTime values.

EndDayTime

Gets or sets the TimeSpan value specifying the end of the working time.

FullDayNames

Gets an array of culture specific full day names.

FullMonthNames

Gets an array of culture specific full month names.

Holidays

Gets or sets the ObservableCollection<T> object which holds the list of holidays (non-working days in addition to weekends). You cannot set this property in XAML.

Info

Gets the underlying C1.Schedule.CalendarInfo object. For internal use only.

StartDayTime

Gets or sets the TimeSpan value specifying the beginning of the working time.

WeekStart

Gets or sets the DayOfWeek value determining the first day of the week. Default is system settings.

WeekendExceptions

Gets or sets the ObservableCollection<T> object which holds the list of weekend days which should be working.

WorkDays

Gets or sets the WorkDays object containing the set of working days in one week.

Methods

Name Description
ReceiveWeakEvent(Type, object, EventArgs)

Receives events from the centralized event manager.

Events

Name Description
PropertyChanged

Occurs when the property of CalendarHelper object is changed.