[]
The C1CalendarView control is used to create a user interface, allowing users to select a specific date (or dates) interactively. Control can display as one month or several months, and provide quick navigation through months and years.
[ToolboxBitmap(typeof(C1CalendarView), "C1CalendarView.png")]
public class C1CalendarView : Control, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, ISupportInitialize, ISupportUia, ISupportUiaContainer
Name | Description |
---|---|
C1CalendarView() | Initializes a new instance of the C1CalendarView control. |
Name | Description |
---|---|
AnnuallyBoldedDates | Gets or sets an array of annually bolded dates. |
AutoSize | Gets or sets a value indicating whether the automatic size adjustment is enabled. |
BackColor | Gets or sets control back color. |
BackgroundImage | Gets or sets the background image for the control. |
BackgroundImageLayout | Do not use this property. To set layout use Theme.Common.BackImageAlignment and Theme.Common.BackImageScaling properties. |
BoldedDates | Gets or sets an DateTime array of bolded dates. |
Calendar | Gets or set Calendar object that represents time in divisions of control. |
CalendarDimensions | Gets or sets a value that indicates how many months will be shown. |
CalendarType | Calendar, used to format date. |
CalendarWeekRule | Get or sets current calendar week rule. |
CaptionFormat | Gets or sets the format to use for the calendar caption. |
CurrentCulture | Get or sets current culture for the calendar. |
CurrentMonthDisplayOffset | Gets or sets the current month display offset. |
DayNameLength | Gets or sets the maximum length of day names. |
DayTitlePosition | Gets or sets the Position value indicating where C1CalendarView control displays the day title. |
DefaultSize | Gets the default size of the C1CalendarView. |
DisabledDates | Gets or sets an DateTime array of disabled dates. |
FirstDayOfWeek | Gets or sets the first day of the week as displayed in the month calendar. |
ForeColor | Do not use this property. |
Margin | Do not use this property. |
MaxColumns | Gets or sets the maximum columns for the CalendarDimensions property. |
MaxDate | Gets or sets the maximum allowable date. The default value is MaxValue. |
MaxSelectionCount | Gets or sets the maximum number of days that can be selected in the C1CalendarView control. The default value is 1. |
MinDate | Gets or sets the minimum allowable date. The default value is MinValue (01/01/0001). |
MonthTitlePosition | Gets or sets the Position value indicating where C1CalendarView control displays the month title. |
Padding | Do not use this property. |
PeriodSelectionType | Gets or sets a value that specifies how to get a date period. Default value is Field. |
RightToLeftLayout | Gets or sets a value indicating whether the control can be laid out from right to left. |
SelectedDates | Gets or sets an DateTime array of selected dates. |
SelectionRule | Gets or sets a SelectionRule value of selection behavior during month navigation. |
ShowArrowButtons | Gets or sets the bool value indicating whether C1CalendarView control displays arrow buttons. |
ShowToday | Gets or sets a value that indicates whether to display today date. |
ShowToolTips | Gets or sets whether the C1CalendarView should display tooltips. |
ShowWeekNumbers | Gets or sets the bool value indicating whether C1CalendarView control displays week numbers. |
Styles | Gets or sets calendar styles. |
TodayFormat | Gets or sets the text format of the "Today" button. Use curly braces to define the date format. |
VerticalOrientationLayout | Gets or sets the bool value indicating whether positioned vertically of the month |
WorkDays | Gets or sets the WorkDays object which specifies weekends for the single week. |
Name | Description |
---|---|
BeforeDayTooltipShow | Occurs before the day tooltip is shown. |
DayFormatting | Occurs before applying styles to a day. |
DisplayRangeChanged | Occurs when display range changed. |
DropDownClosed | Occurs after a dropdown component is closed. |
DropDownClosing | Occurs as a dropdown component is closing. |
DropDownOpened | Occurs after a dropdown component is opened. |
DropDownOpening | Occurs as a dropdown component is opening. |
RightToLeftLayoutChanged | Occurs when the RightToLeftLayout property is changed. |
SelectionChanged | Occurs when the range of selected days is changed. |
SelectionChanging | Occurs before the range of selected days will be changed. |
StylesChanged | Occurs when calendar theme changed. |