[]
        
(Showing Draft Content)

C1.WPF.Schedule.DaySlot

DaySlot Class

Represents a day slot in the C1CalendarItem control.

Namespace: C1.WPF.Schedule
Assembly: C1.WPF.Schedule.4.6.2.dll
Syntax
public class DaySlot : DependencyObject
Remarks

An instance of this class can represent a day of a month or an empty slot, which is determined by the Empty property value. In the case when DaySlot is empty, the Date property will have a null value, but the other properties will still contain information that allows you to determine the placement of the slot in the calendar. For example the DayOfWeek property will determine a day of week that the slot corresponds to.

Fields

Name Description
IsBoldedProperty

Identifies the IsBolded dependency property.

IsEnabledProperty

Identifies the IsEnabled dependency property.

IsSelectedProperty

Identifies the IsSelected dependency property.

Properties

Name Description
Date

Gets a date represented by the DaySlot object or a null value if the DaySlot is empty.

DayOfWeek

Gets the day of the week that this slot corresponds to.

Empty

Indicates whether the DaySlot is empty, that is doesn't represent a date.

IsAdjacent

Indicates whether the DaySlot represents a day from an adjacent month, but not of the month currently represented by C1CalendarItem.

IsBolded

Indicates whether a day represented by the DaySlot is currently bolded in C1CalendarItem UI. This is a dependency property.

IsEnabled

Indicates whether a day represented by the DaySlot is currently enabled in C1CalendarItem UI. This is a dependency property.

IsSelected

Indicates whether a day represented by the DaySlot is currently selected in C1CalendarItem UI. This is a dependency property.

IsToday

Indicates whether the DaySlot represents the current day.

IsWeekend

Indicates whether the DaySlot represents a weekend day.

Owner

Returns reference to the owning C1CalendarItem control.

Methods

Name Description
ToString()

Returns string representation of the Date property value.