The CalendarHelper type exposes the following members.

Constructors

  Name Description
Public method CalendarHelper
Initializes a new instance of the CalendarHelper class.

Methods

  Name Description
Public method CheckAccess (Inherited from DependencyObject.)
Public method ClearValue
Clears the local value of a property. The property to be cleared is specified by a DependencyProperty identifier.
(Inherited from DependencyObject.)
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetAnimationBaseValue (Inherited from DependencyObject.)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method GetValue
Returns the current effective value of a dependency property on this instance of a DependencyObject.
(Inherited from DependencyObject.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method ReadLocalValue
Returns the local value of a dependency property, if it exists.
(Inherited from DependencyObject.)
Public method SetValue
Sets the local value of a dependency property, specified by its dependency property identifier.
(Inherited from DependencyObject.)
Public method ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Fields

  Name Description
Public field Static member WorkDaysProperty
Identifies the WorkDays dependency property.

Properties

  Name Description
Public property DateTimeKind
Gets or sets a DateTimeKind value specifying DateTime kind used for saving DateTime values.
Public property Dispatcher (Inherited from DependencyObject.)
Public property EndDayTime
Gets or sets the TimeSpan value specifying the end of the working time.
Public property FullDayNames
Gets an array of culture specific full day names.
Public property FullMonthNames
Gets an array of culture specific full month names.
Public property Holidays
Gets or sets the ObservableCollection<(Of <(<'T>)>)> object which holds the list of holidays (non-working days in addition to weekends).

You cannot set this property in XAML.

Public property Info
Gets the underlying CalendarInfo object. For internal use only.
Public property NoWorkingDays
Gets or sets the Boolean value determining whether the CalendarHelper object has any working days.
Public property StartDayTime
Gets or sets the TimeSpan value specifying the beginning of the working time.
Public property WeekendExceptions
Gets or sets the ObservableCollection<(Of <(<'T>)>)> object which holds the list of weekend days which should be working.

You cannot set this property in XAML.

Public property WeekStart
Gets or sets the DayOfWeek value determining the first day of the week. Default is system settings.
Public property WorkDays
Gets or sets the WorkDays object containing the set of working days in one week.

Events

  Name Description
Public event PropertyChanged
Occurs when the property of CalendarHelper object is changed.

See Also