[]
        
(Showing Draft Content)

C1.Blazor.Calendar.C1Calendar

C1Calendar Class

Represents a month calendar with the ability to interactively navigate through months and select a specific DateTime value or a range of dates.

Inheritance
C1Calendar
Namespace: C1.Blazor.Calendar
Assembly: C1.Blazor.Calendar.dll
Syntax
public class C1Calendar : C1View, IComponent, IHandleAfterRender, IDependencyObject, IHandleEvent, IDisposable

Constructors

Name Description
C1Calendar()

Initializes a new instance of the C1Calendar class.

Fields

Name Description
AdjacentDayForegroundProperty

Identifies the AdjacentDayForeground dependency property.

AdjacentDayStyleProperty

Identifies the AdjacentDayStyle dependency property.

BoldDayStyleProperty

Identifies the BoldDayStyle dependency property.

BoldedDatesProperty

Identifies the BoldedDates dependency property.

CalendarTypeProperty

Identifies the CalendarType dependency property.

DayBackgroundProperty

Identifies the DayBackground dependency property.

DayBorderBrushProperty

Identifies the DayBorderBrush dependency property.

DayBorderThicknessProperty

Identifies the DayBorderThickness dependency property.

DayForegroundProperty

Identifies the DayForeground dependency property.

DayOfWeekBackgroundProperty

Identifies the DayOfWeekBackground dependency property.

DayOfWeekForegroundProperty

Identifies the DayOfWeekForeground dependency property.

DayOfWeekFormatProperty

Identifies the DayOfWeekFormat dependency property.

DayOfWeekPaddingProperty

Identifies the DayOfWeekPadding dependency property.

DayOfWeekSlotTemplateProperty

Identifies the DayOfWeekSlotTemplate dependency property.

DayOfWeekStyleProperty

Identifies the DayOfWeekStyle dependency property.

DayPaddingProperty

Identifies the DayPadding dependency property.

DaySlotTemplateProperty

Identifies the DaySlotTemplate dependency property.

DayStyleProperty

Identifies the DayStyle dependency property.

DisabledForegroundProperty

Identifies the DisabledForeground dependency property.

DisabledStyleProperty

Identifies the DisabledStyle dependency property.

DisplayDateProperty

Identifies the DisplayDate dependency property.

FirstDayOfWeekProperty

Identifies the FirstDayOfWeek dependency property.

HeaderBackgroundProperty

Identifies the HeaderBackground dependency property.

HeaderForegroundProperty

Identifies the HeaderForeground dependency property.

HeaderMonthFormatProperty

Identifies the HeaderMonthFormat dependency property.

HeaderStyleProperty

Identifies the HeaderStyle dependency property.

ItemValidatorProperty

Identifies the ItemValidator dependency property.

MaxDateProperty

Identifies the MaxDate dependency property.

MaxSelectionCountProperty

Identifies the MaxSelectionCount dependency property.

MinDateProperty

Identifies the MinDate dependency property.

MonthCountProperty

Identifies the MonthCount dependency property.

MonthStyleProperty

Identifies the MonthStyle dependency property.

NextIconTemplateProperty

Identifies the NextIconTemplate dependency property.

OrientationProperty

Identifies the Orientation dependency property.

PrevIconTemplateProperty

Identifies the PrevIconTemplate dependency property.

SelectedDateProperty

Identifies the SelectedDate dependency property.

SelectedDateStyleProperty

Identifies the SelectedDateStyle dependency property.

SelectedDatesProperty

Identifies the SelectedDates dependency property.

SelectionBackgroundProperty

Identifies the SelectionBackground dependency property.

SelectionForegroundProperty

Identifies the SelectionForeground dependency property.

SelectionModeProperty

Identifies the SelectionMode dependency property.

SelectionStyleProperty

Identifies the SelectionStyle dependency property.

ShowAdjacentDayProperty

Identifies the ShowAdjacentDay dependency property.

ShowHeaderProperty

Identifies the ShowHeader dependency property.

ShowNavigationButtonsProperty

Identifies the ShowNavigationButtons dependency property.

TodayBackgroundProperty

Identifies the TodayBackground dependency property.

TodayBorderBrushProperty

Identifies the TodayBorderBrush dependency property.

TodayBorderThicknessProperty

Identifies the TodayBorderThickness dependency property.

TodayForegroundProperty

Identifies the TodayForeground dependency property.

TodayStyleProperty

Identifies the TodayStyle dependency property.

ViewModeProperty

Identifies the ViewMode dependency property.

YearStyleProperty

Identifies the YearStyle dependency property.

Properties

Name Description
ActualAdjacentStyle

Gets the style applied to adjacent slots.

ActualAdjacentYearStyle

Gets the style applied to adjacent year slots.

ActualBoldDayStyle

Gets the style applied to bolded date slots.

ActualDayOfWeekStyle

Gets the style applied to day-of-week slots.

ActualDayStyle

Gets the style applied to day slots.

ActualDisabledMonthStyle

Gets the style applied to disabled month slots.

ActualDisabledStyle

Gets the style applied to disabled slots.

ActualDisabledYearStyle

Gets the style applied to disabled year slots.

ActualHeaderStyle

Gets the style applied to header slots.

ActualMonthStyle

Gets the style applied to month slots.

ActualSelectionStyle

Gets the style applied to selected slots.

ActualTodayStyle

Gets the style applied to today slot.

ActualYearStyle

Gets the style applied to year slots.

Adapter

Gets or sets the adapter that provides the grid with the slots.

AdjacentDayForeground

Gets or sets the color of the adjacent days text.

AdjacentDayStyle

Gets or sets the style for the AdjacentDay slot.

BoldDayStyle

Gets or sets the style for bolded days slot.

BoldedDates

Gets or sets the collection of the Bolded dates.

CalendarType

Gets or sets the type of calendar.

CollapseViewIconTemplate

Month expanse button content.

DayBackground

Gets or sets the background for the day slots.

DayBorderBrush

Gets or sets the color used for the border between day slots.

DayBorderThickness

Gets or sets the border thickness between day slots.

DayForeground

Gets or sets the color of the text displayed in the day slots.

DayOfWeekBackground

Gets or sets the background color for the day of week slots.

DayOfWeekForeground

Gets or sets the color of the text displayed in the day of week slots.

DayOfWeekFormat

Gets or sets the format used to display the day of the week.

DayOfWeekPadding

Gets or sets the padding of the day of week slots.

DayOfWeekSlotTemplate

Gets or sets a data template that defines the UI representation for a day of the week.

DayOfWeekStyle

Gets or sets the style for the Day of Week panel.

DayPadding

Gets or sets the padding of the day slots.

DaySlotTemplate

Gets or sets a data template that defines the UI representation for a single day of the month.

DayStyle

Gets or sets the style for the normal day slot.

DisabledForeground

Gets or sets the color for the text of disabled slots.

DisabledStyle

Gets or sets the style for the disabled slots.

DisplayDate

Gets or sets a value specifying the currently displayed date of the year.

DisplayDateChanged

Occurs when the DisplayDate property has changed.

ExpandViewIconTemplate

Month expanse button content.

FirstDayOfWeek

Gets or sets a value that represents the first day of the week, the one displayed in the first column of the calendar.

HeaderBackground

Gets or sets the background for the header.

HeaderForeground

Gets or sets the color for the header text.

HeaderMonthFormat

Gets or sets the format used to display the month of the year when the ViewMode is Month.

HeaderStyle

Gets or sets the style for the calendar header.

IsFullScreen

The size equal browser's size in DatePicker In DateTimePicker, the size + TimeSelectionPanel = browser's size

ItemValidator

Gets or sets the selected date style.

MaxDate

Gets or sets the latest date that the user can select in the calendar.

MaxSelectionCount

Gets or sets the maximum number of days that can be selected in the control.

MinDate

Gets or sets the earliest date that the user can select in the calendar.

MonthCount

The number of months will be displayed.

MonthStyle

Gets or sets the style for the normal month slot.

NextIconTemplate

Gets or sets the next icon template.

OnSelectionChanged

Gets or sets the callback that is called when the value is changed.

Orientation

Gets or sets a value indicating which orientation the calendar navigates.

PrevIconTemplate

Gets or sets the previous icon template.

SelectedDate

Gets or sets the currently selected date.

SelectedDateChanged

This Callback will gets and sets by Blazor framework automatically for binding feature.

SelectedDateStyle

Gets or sets the selected date style.

SelectedDates

Gets or sets the currently selected dates.

SelectionBackground

Gets or sets the color used to highlight selected dates.

SelectionForeground

Gets or sets the color for selected date text.

SelectionMode

Gets or sets the selection behavior for the calendar.

SelectionStyle

Gets or sets the style for the selected slots.

ShowAdjacentDay

Default is true - AdjacentDay will invisible if set false.

ShowHeader

Header will be shown if set, default value is true.

ShowNavigationButtons

Navigation Buttons will be shown if set, default value is true.

TodayBackground

Gets or sets the color used to highlight the background of the today day slot.

TodayBorderBrush

Gets or sets the border color for the text of the today day slot.

TodayBorderThickness

Gets or sets the border thickness for the text of the today day slot.

TodayForeground

Gets or sets the color for the text of the today day slot.

TodayIconTemplate

TodayIconTemplate button content.

TodayStyle

Gets or sets the style for the today slot.

ViewMode

Gets or sets a value indicating whether the calendar displays a month, year or decade view.

YearStyle

Gets or sets the style for the normal year slot.

Methods

Name Description
BuildRenderTree(RenderTreeBuilder)

Render Blazor C1Calendar

Dispose(bool)
GetDaysSlots()
GetMonthsSlots()

Gets the months slots info.

GetYearSlots()

Gets the years slots info.

InitializeAsync()

This method is called when the component is initialized.

OnAfterRender(bool)
OnInitialized()

Verify lic

Refresh()

Refreshes the control.