[]
Represents the settings for the drop-down calendar.
[TypeConverter(typeof(ExpandableObjectConverter))]
public class DropDownCalendar
<TypeConverter(GetType(ExpandableObjectConverter))>
Public Class DropDownCalendar
Name | Description |
---|---|
ActiveHolidayStyles | Gets or sets active holiday styles for the drop-down calendar. |
AllowSelection | Gets or sets the type of dates that allow selection. |
BackColor | Gets or sets the background color of the drop-down calendar. |
BackgroundImage | Gets or sets the background image displayed in the drop-down calendar. |
BackgroundImageLayout | Gets or sets the layout of the background image of the drop-down calendar. |
BorderStyle | Gets or sets the border style of the drop-down calendar. |
CalendarDimensions | Gets or sets dimensions of the drop-down calendar. |
CalendarMargins | Gets or sets margins for the drop-down calendar. |
CalendarType | Gets or sets the type of the drop-down calendar. |
ControlStyle | Gets or sets the style of the drop-down calendar. |
Cursor | Gets or sets the cursor that is displayed when the mouse pointer is over the drop-down window. |
EmptyRows | Gets or sets how the calendar should be drawn when empty week rows appear. |
EnableScrollAnimation | Gets or sets whether or not the animation will be performed when scroll or zoom on the drop-down calendar. |
EnableTouchZoom | Gets or sets if Touch Zoom is enabled. |
FirstDayOfWeek | Gets or sets which weekday to display first in the drop-down calendar. |
FirstMonthInView | Gets or sets the first month in the drop-down calendar view. |
FlatStyle | Gets or sets the appearance of the drop-down calendar. |
FocusDate | Gets or sets the date that has focus. |
FocusRectangle | Gets or sets the style of the focus rectangle. |
Font | Gets or sets the drop-down calendar font. |
HeaderFormat | Gets or sets the format string of the header. |
HeaderHeight | Gets or sets the height of the header. |
HeaderStyle | Gets or sets the header style. |
HolidayStyles | Gets or sets holiday styles. |
InnerMargins | Gets or sets the inner margins of the drop-down calendar. |
InnerSpace | Gets or sets the inner space of the drop-down calendar. |
ItemStyle | Gets or sets the style of each item. |
LegendStyle | Gets or sets the style of the today legend. |
Lines | Gets or sets the line setting. |
MaxDate | Gets or sets the maximum limit of the date. |
MinDate | Gets or sets the minimum limit of the date. |
NavigateOnWheel | Gets or sets a value that indicates whether the user can navigate with the mouse wheel. |
NavigatorOrientation | Gets or sets the orientation of the navigator. |
OverrideTipText | Gets or sets the text of the tip that is shown on an overridden holiday. |
PreferredSize | Gets the preferred size of the drop-down calendar. |
Redraw | Gets or sets a value that indicates whether the view is refreshed. |
ScrollRate | Gets or sets the scroll rate. |
ScrollTipAlign | Gets or sets the scroll tip alignment. |
SelectedDate | Gets or sets the selected date. |
SelectionStyle | Gets or sets the style of selected dates. |
ShowContextMenu | Gets or sets a value that indicates whether to show the context menu when right-clicking the mouse button or pressing the menu key. |
ShowHeader | Gets or sets a value that indicates whether to show the header. |
ShowNavigator | Gets or sets a value that indicates how to show the navigator. |
ShowScrollTip | Gets or sets a value that indicates whether to show the scroll tip. |
ShowToday | Gets or sets a value that indicates whether to show the today legend. |
ShowTodayMark | Gets or sets a value that indicates whether to show the today mark. |
ShowTrailing | Gets or sets a value that indicates whether to show trailing dates. |
ShowWeekNumber | Gets or sets a value that indicates whether to show the week number. |
ShowZoomButton | Gets or sets a value that indicates whether to show the zoom button on the navigate bar. |
SingleBorderColor | Gets or sets the color for a single line border. |
Styles | Gets or sets a set of stored Style objects. |
SubStyles | Gets or sets a set of stored SubStyle objects. |
TipInterval | Gets or sets the interval before showing holiday tooltips when the mouse is over an item. |
TitleStyle | Gets or sets the style of the weekday title. |
TodayImage | Gets or sets the image that is used to represent today. |
TodayMarkColor | Gets or sets the border color shown in the today area. |
TrailingStyle | Gets or sets the style of trailing dates. |
UseControlStyle | Gets or sets a value that indicates whether to use the control style. |
UseHeaderFormat | Gets or sets whether to use the HeaderFormat property to show the header text. |
WeekNumberStyle | Gets or sets the style of the week number. |
Weekdays | Gets or sets the weekday settings. |
YearMonthFormat | Gets or sets the header format for the year or month view. |
Name | Description |
---|---|
DateFromPoint(Point) | Gets a date according to the given point. |
DateFromPoint(int, int) | Gets a date according to the given x-coordinate and y-coordinate. |
DayOfWeekFromPoint(Point) | Gets the weekday from a point. |
DayOfWeekFromPoint(int, int) | Gets a date according the given x-coordinate and y-coordinate. |
GetDatesInView() | Gets all the dates in the view. |
GetDatesInView(PickDays) | Gets the dates of the given type in the current view. |
ScrollMonth(int) | Scrolls the calendar month according to the numbers specified. |
ScrollYear(int) | Scrolls the calendar year according to the numbers specified. |
Zoom(CalendarType) | Zooms the current calendar to the specific calendar type. |
Name | Description |
---|---|
ClickDate | Occurs when the date is clicked. |
FocusDateChanged | Occurs when the focus date is changed. |
Scrolled | Occurs when the drop-down calendar is scrolled. |
SelectedDateChanged | Occurs when the selected date is changed. |