ComponentOne CalendarView for WinForms
CalendarSettings Class Members
Properties  Methods  Events

C1.Win.Calendar Namespace : CalendarSettings Class

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 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
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 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

Reference

CalendarSettings Class
C1.Win.Calendar Namespace