DatePicker Control Members
See Also
Public Methods
AttachToCalendar — Associates a DatePicker Control with a Calendar Control.
ClearSelection — Clears all the currently selected days in the date picker.
Deselect — Deselects a specific day in the date picker.
DesiredVisibleAndFullRange — Allows scrolling between FirstDay and LastDay and attempts to show the initial visible range between FirstVisibleDay and LastVisibleDay.
DetachFromCalendar — Un-associates a DatePicker Control from a Calendar Control.
EnsureVisible — Ensures that a specific date is visible in the DatePicker.
EnsureVisibleFocus — Ensures that the focused item is visible.
EnsureVisibleSelection — Ensures that the current selection range is visible.
GetDayName — Gets the name of any day of the week.
GetMinReqRect — Retrieves the minimum size required to show a specified number of full month items in a date picker control.
GetMonthName — Gets the name of any month.
HitTest — Determines which date in the date picker is affected by the mouse pointer.
HitTestEx — Determines which date portion of the date picker control, if any, is at a specified position.
RedrawControl — Redraws the DatePicker Control.
ResyncCalendar — Re-syncs the data in the date picker with the calendar's data.
Select — Selects a specific day in the date picker control.
SelectRange — Sets the selection for a date picker control to a given date range (highlights the dates in the given range).
SetDayName — Sets the name of any day of the week.
SetMonthName — Sets the name of any month.
SetRange — Sets the minimum and maximum allowable dates for a date picker control.
ShowModal — Displays a Date Picker control as a modal dialog with a specific number of month rows and columns.
ShowModalEx — Displays a Date Picker control as a modal dialog and allows you to specify the top-left corner and the width/height.
Public Properties
AllowNoncontinuousSelection — Specifies whether the date picker control allows non-continuous day selection.
AskDayMetrics — Specifies whether to fire the AskDayMetrics event.
DayMetric — (See DayMetrics event) Provides a way to customize day drawing metrics before a day is displayed.
AutoSizeRowCol — Gets or sets the AutoSize mode.
BoldDaysIdleStepTime_ms — Gets/sets the time between idle steps used to update the bold state of days in the date picker (milliseconds).
BoldDaysOnIdle — Enables or disables retrieving the bold state of days in the date picker using a timer.
BoldDaysPerIdleStep — Gets/sets the total number of days whose bold status will be updated in a single idle step.
BoldDaysWithEvents — Gets/sets whether dates corresponding to days that contain events will be displayed in bold font.
BorderStyle — Gets/sets the border style around the Date Picker control.
ColumnCount — Gets/sets the number of columns in the months grid.
Enabled — Enables or disables the date picker control.
FirstDayOfWeek — Gets/sets the day of the week (Monday–Sunday) that is displayed in the leftmost column of the calendar.
FirstVisibleDay — Gets the first visible date in the date picker.
FirstWeekOfYearDays — Contains the current required number of year days that occur in the first week of the year.
HighlightToday — Enables or disables highlighting of the "Today" cell.
hWnd — Returns the window handle (HWND) of the Date Picker Control.
LastVisibleDay — Gets the last visible date in the date picker.
LimitMonthDaysSelection — Limits selection to days that belong to the current month (when enabled).
MaxSelectionCount — Gets/sets the maximum number of days that can be selected in the date picker control.
MonthDelta — Gets or sets the scroll rate for the date picker control.
MultiSelectionMode — Enables or disables the multiple selection mode for the control.
PaintManager — The paint manager that handles most of the drawing activities for the DatePicker control.
ReCreateReparented — Indicates whether the control should be recreated when reparented.
RightToLeft — Gets/sets a value indicating whether the Date Picker elements are aligned for right-to-left locales.
RowCount — Gets/sets the number of rows in the months grid.
Selection — Retrieves date information representing the upper and lower limits of the date range currently selected by the user.
ShowNoneButton — Hides or shows the Date Picker Control's "None" button.
ShowNonMonthDays — Shows or hides non-month days.
ShowTodayButton — Hides or shows the Date Picker Control's "Today" button.
ShowWeekNumbers — Shows or hides the week numbers for month items displayed in the Date Picker control.
SysYearMonthFormat — Indicates whether the year/month format should be obtained from the system settings.
TextNoneButton — Gets/sets the text that is displayed in the "None" button.
TextTodayButton — Gets/sets the text that is displayed in the "Today" button.
VisualTheme — Gets/sets the visual theme used to display the date picker.
YearsTriangle — Hides or displays the year-triangle button in the date picker caption.
Events
DayMetrics — Occurs before each date/day is drawn in the Date Picker. Allows the metrics to be modified before the day is displayed.
KeyDown — Occurs when a key is pressed and the date picker control has focus.
MonthChanged — Occurs when the months currently in view have changed.
MouseMove — Occurs when the mouse cursor is moved anywhere over the Date Picker Control.
ReCreated — Occurs when the Date Picker control is recreated.
SelectionChanged — Occurs when the selection has changed in the Date Picker Control.
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.