[]
        
(Showing Draft Content)

C1.Win.Calendar.DateEdit.CalendarSettings

CalendarSettings Class

Represents the settings of drop down calendar.

Inheritance
CalendarSettings
Namespace: C1.Win.Calendar.DateEdit
Assembly: C1.Win.Calendar.8.dll
Syntax
[TypeConverter(typeof(ExpandableObjectConverter))]
public sealed class CalendarSettings : INotifyPropertyChanged

Constructors

Name Description
CalendarSettings()

Properties

Name Description
AnnuallyBoldedDates

Gets or sets the array of System.DateTime objects that determines which annual days are displayed in bold.

BoldedDates

Gets or sets the array of System.DateTime objects that determines which nonrecurring dates are displayed in bold.

CalendarDimensions

Gets or sets a value that indicates how many months will be shown.

CalendarType

Calendar, used to format date.

CalendarWeekRule

Gets or sets a value that specifies which rule is used to determine the first calendar week of the year.

CaptionFormat

Gets or sets the format to use for the calendar caption.

ClearText

Gets or sets the text of the "Clear" button.

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 calendar control displays the day title.

DefaultSelectedDate

Gets or sets the default selected date.

DisabledDates

Gets or sets the array of System.DateTime objects that determines which dates are disabled.

FirstDayOfWeek

Gets or sets the first day of the week as displayed in the month calendar.

MaxColumns

Gets or sets the maximum columns for the CalendarDimensions property.

MaxDate

Gets or sets the maximum allowable date.

MinDate

Gets or sets the minimum allowable date. The default value is DateTime.MinValue (01/01/0001).

MonthTitlePosition

Gets or sets the Position value indicating where calendar control displays the month title.

PeriodSelectionType

Gets or sets a value that specifies how to get a date period. Default value is Field.

RightToLeft

Gets or sets a value indicating whether control's elements are aligned to support locales using right-to-left fonts.

RightToLeftLayout

Gets or sets a value indicating whether the control is laid out from right to left.

ShowClearButton

Determines if the Clear button of the dropdown calendar is visible.

ShowDefaultDate

Gets or sets a value indicating whether the DefaultSelectedDate day should always be selected when opening the drop-down calendar.

ShowToday

Gets or sets a value indicating whether the date represented by the TodayDate property is displayed at the bottom of the control.

ShowToolTips

Gets or sets whether the C1DateEdit should display tooltips.

ShowWeekNumbers

Gets or sets a value indicating whether the month calendar control displays week numbers (1-52) to the left of each row of days.

SyncValueWithSelection

Updates the Value each time the selection is changed.

TitleNavigation

Gets or sets a value indicating whether current month and year can be changed by clicking on the title of the calendar.

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.

Events

Name Description
PropertyChanged

Occurs when a property value changes.