ComponentOne CalendarView for WinForms
C1.Win.Calendar Namespace / CalendarSettings Class
Properties Methods Events


In This Topic
    CalendarSettings Class Members
    In This Topic

    The following tables list the members exposed by CalendarSettings.

    Public Properties
     NameDescription
    Public PropertyGets or sets the array of System.DateTime objects that determines which annual days are displayed in bold.  
    Public PropertyGets or sets the color of the arrows.  
    Public PropertyGets or sets the background color of the control.  
    Public PropertyGets or sets the array of System.DateTime objects that determines which nonrecurring dates are displayed in bold.  
    Public PropertyGets or sets the number of columns and rows of months displayed.  
    Public PropertyGets or sets a value that specifies which rule is used to determine the first calendar week of the year.  
    Public PropertyGets or sets the format to use for the calendar caption.  
    Public PropertyGets or sets the text of the "Clear" button.  
    Public PropertyGets or sets the current month display offset.  
    Public PropertyGets or sets the value indicating that no date is currently selected in the calendar.  
    Public PropertyGets or sets the maximum length of day names.  
    Public PropertyGets or sets the day names' text color.  
    Public PropertyGets or sets the day names font.  
    Public PropertyGets or sets the array of System.DateTime objects that determines which dates are disabled.  
    Public PropertyGets or sets the first day of the week as displayed in the month calendar.  
    Public PropertyGets the first day of the first fully shown month.  
    Public PropertyGets or sets the font of the text displayed by the dropdown calendar.  
    Public PropertyGets or sets the foreground color of the control.  
    Public PropertyGets the last day of the last fully shown month.  
    Public PropertyGets or sets the line color.  
    Public PropertyGets or sets the maximum allowable date.  
    Public PropertyGets or sets the minimum allowable date. The default value is DateTime.MinValue (01/01/0001).  
    Public PropertyGets or sets a value indicating whether control's elements are aligned to support locales using right-to-left fonts.  
    Public PropertyGets or sets a value indicating whether the control is laid out from right to left.  
    Public PropertyGets or sets the selected date.  
    Public PropertyGets or sets the selection background color.  
    Public PropertyGets or sets the selection foreground color.  
    Public PropertyDetermines if the Clear button of the dropdown calendar is visible.  
    Public PropertyGets or sets a value indicating whether the date represented by the TodayDate property is displayed at the bottom of the control.  
    Public PropertyDetermines if the Today button of the dropdown calendar is visible.  
    Public PropertyGets or sets a value indicating whether today's date is circled.  
    Public PropertyGets or sets whether the C1DateEdit should display tooltips.  
    Public PropertyGets or sets a value indicating whether the month calendar control displays week numbers (1-52) to the left of each row of days.  
    Public PropertyUpdates the Value each time the selection is changed.  
    Public PropertyGets or sets a value indicating the background color of the title area of the calendar.  
    Public PropertyGets or sets the title font.  
    Public PropertyGets or sets a value indicating the foreground color of the title area of the calendar.  
    Public PropertyGets or sets the title height.  
    Public PropertyGets or sets a value indicating whether current month and year can be changed by clicking on the title of the calendar.  
    Public PropertyGets or sets the color of the border around the current date.  
    Public PropertyGets or sets the text of the "Today" button.  
    Public PropertyGets or sets a value indicating the color of days in months that are not fully displayed in the control.  
    Public PropertyGets or sets VisualStyle.  
    Public PropertyGets or sets the font of week numbers.  
    Top
    Public Methods
     NameDescription
    Public MethodAdds a day that is displayed in bold on an annual basis in the month calendar.  
    Public MethodAdds a day to be displayed in bold in the month calendar.  
    Public MethodAdds a day to be disabled in the month calendar.  
    Public MethodAdds a day that is displayed in bold on a monthly basis in the month calendar.  
    Public MethodRemoves all the annually bold dates.  
    Public MethodRemoves all the nonrecurring bold dates.  
    Public MethodRemoves the all disabled dates.  
    Public MethodRemoves all the monthly bold dates.  
    Public MethodRemoves the specified date from the list of annually bold dates.  
    Public MethodRemoves the specified date from the list of nonrecurring bold dates.  
    Public MethodRemoves the specified date from the list of disabled dates.  
    Public MethodRemoves the specified date from the list of monthly bolded dates.  
    Public MethodSets the number of columns and rows of months to display.  
    Public MethodSets a date as the currently selected date.  
    Public MethodSets the selected dates in a month calendar control to the specified date range.  
    Top
    Protected Methods
     NameDescription
    Protected MethodRises the BeforeDayTooltipShow event.  
    Protected MethodRaises the ClearButtonClick event.  
    Protected MethodRaises the ClearButtonVisibilityChanged event.  
    Protected MethodRaises the DateValueChanged event.  
    Protected MethodRaises the DateValueSelected event.  
    Protected MethodRises the DayFormatting event.  
    Protected MethodRises the DisplayRangeChanged event.  
    Protected MethodRaises the MonthChanged event.  
    Protected MethodRaises the RightToLeftLayoutChanged event.  
    Protected MethodRaises the TodayButtonClick event.  
    Protected MethodRaises the TodayButtonVisibilityChanged event.  
    Protected MethodRaises the VisualStyleChanged event.  
    Protected MethodClears AnnuallyBoldedDates.  
    Protected MethodClears BoldedDates.  
    Protected MethodSets the CalendarDimensions property to its default value.  
    Protected MethodClears ResetDisabledDates.  
    Protected MethodSets the MaxDate property to its default value.  
    Protected MethodSets the MinDate property to its default value.  
    Protected MethodClears MonthlyBoldedDates.  
    Protected MethodSets the SelectedDate property to its default value.  
    Protected MethodResets VisualStyle to the default value.  
    Protected MethodIndicates whether the AnnuallyBoldedDates property should be persisted.  
    Protected MethodIndicates whether the BoldedDates property should be persisted.  
    Protected MethodIndicates whether the CalendarDimensions property should be persisted.  
    Protected MethodIndicates whether the DisabledDates property should be persisted.  
    Protected MethodIndicates whether the MaxDate property should be persisted.  
    Protected MethodIndicates whether the MinDate property should be persisted.  
    Protected MethodIndicates whether the MonthlyBoldedDates property should be persisted.  
    Protected MethodIndicates whether the SelectedDate property should be persisted.  
    Protected MethodTests whether VisualStyle should be serialized.  
    Top
    Public Events
     NameDescription
    Public EventOccurs before the day tooltip is shown.  
    Public EventOccurs when Clear button is clicked.  
    Public EventOccurs when Clear button visibility is changed.  
    Public EventOccurs when the value of the Date property is changed.  
    Public EventOccurs when the user selects a value for the Date property.  
    Public EventOccurs before applying styles to a day.  
    Public EventOccurs when display range changed.  
    Public EventHandles the month change in the Dropdown calendar in C1DateEdit. Occurs when the value of the FirstMonth or LastMonth property changes.  
    Public EventOccurs when the value of the RightToLeftLayout property changes.  
    Public EventOccurs when Today button is clicked.  
    Public EventOccurs when Today button visibility is changed.  
    Public EventOccurs when the VisualStyle property has changed.  
    Top
    See Also