DateControl Events
The base class for controls that allow users to edit date-time values.Name | Description |
---|---|
AutoSizeChanged | This event is not relevant for this class. Inherited from Control. |
BackColorChanged | This event is not supported by the BaseStyleControl class. Inherited from BaseStyleControl. |
BackgroundImageChanged | Occurs when the value of the BackgroundImage property changes. Inherited from Control. |
BackgroundImageLayoutChanged | Occurs when the BackgroundImageLayout property changes. Inherited from Control. |
BindingContextChanged | Occurs when the value of the BindingContext property changes. Inherited from Control. |
CancelClick | This member supports the internal infrastructure, and is not intended to be used directly from your code. Inherited from CalendarControl. |
CausesValidationChanged | Occurs when the value of the CausesValidation property changes. Inherited from Control. |
ChangeUICues | Occurs when the focus or keyboard user interface (UI) cues change. Inherited from Control. |
Click | Occurs when the control is clicked. Inherited from Control. |
ClientSizeChanged | Occurs when the value of the ClientSize property changes. Inherited from Control. |
ContextButtonClick | Allows you to respond to a context button click. Inherited from CalendarControlBase. |
ContextButtonCustomize | Allows you to customize context buttons in certain calendar cells. Inherited from CalendarControlBase. |
ContextButtonValueChanged | Fires when the CheckContextButton.Checked, TrackBarContextButton.Value or RatingContextButton.Rating property value changes. Inherited from CalendarControlBase. |
ContextMenuChanged | Occurs when the value of the ContextMenu property changes. Inherited from Control. |
ContextMenuStripChanged | Occurs when the value of the ContextMenuStrip property changes. Inherited from Control. |
ControlAdded | Occurs when a new control is added to the Control.ControlCollection. Inherited from Control. |
ControlRemoved | Occurs when a control is removed from the Control.ControlCollection. Inherited from Control. |
CursorChanged | Occurs when the value of the Cursor property changes. Inherited from Control. |
CustomContextButtonToolTip | Allows you to specify a tooltip shown when the mouse pointer hovers over a context button. This event is only raised for RatingContextButton and TrackBarContextButton objects. Inherited from CalendarControlBase. |
CustomDrawDayNumberCell | Occurs when drawing each day cell in the calendar. Inherited from CalendarControlBase. |
CustomWeekDayAbbreviation | Allows you to provide custom week day abbreviations. Inherited from CalendarControlBase. |
CustomWeekNumber | Allows week numbers to be customized. Inherited from CalendarControlBase. |
DateTimeChanged | Fires when the CalendarControlBase.DateTime property value changes. Inherited from CalendarControlBase. |
DateTimeCommit | Fires when the CalendarControlBase.DateTime property value changes as a result of actions performed by an end-user. Inherited from CalendarControlBase. |
DisableCalendarDate | Allows you to disable certain dates to prevent them from being selected by an end-user. Inherited from CalendarControlBase. |
Disposed | Occurs when the component is disposed by a call to the Dispose() method. Inherited from Component. |
DockChanged | Occurs when the value of the Dock property changes. Inherited from Control. |
DoubleClick | Occurs when the control is double-clicked. Inherited from Control. |
DragDrop | Occurs when a drag-and-drop operation is completed. Inherited from Control. |
DragEnter | Occurs when an object is dragged into the control’s bounds. Inherited from Control. |
DragLeave | Occurs when an object is dragged out of the control’s bounds. Inherited from Control. |
DragOver | Occurs when an object is dragged over the control’s bounds. Inherited from Control. |
EditDateModified | Obsolete. This member supports the internal infrastructure, and is not intended to be used directly from your code. Inherited from CalendarControlBase. |
EditValueChanged | Fires when the CalendarControlBase.EditValue property value changes. Inherited from CalendarControlBase. |
EnabledChanged | Occurs when the Enabled property value has changed. Inherited from Control. |
Enter | Occurs when the control is entered. Inherited from Control. |
FontChanged | This event is not supported by the BaseStyleControl class. Inherited from BaseStyleControl. |
ForeColorChanged | This event is not supported by the BaseStyleControl class. Inherited from BaseStyleControl. |
FormatEditValue | Allows you to convert the EditValue to the DateTime format. Inherited from CalendarControlBase. |
GiveFeedback | Occurs during a drag operation. Inherited from Control. |
GotFocus | Occurs when the control receives focus. Inherited from Control. |
HandleCreated | Occurs when a handle is created for the control. Inherited from Control. |
HandleDestroyed | Occurs when the control’s handle is in the process of being destroyed. Inherited from Control. |
HelpRequested | Occurs when the user requests help for a control. Inherited from Control. |
ImeModeChanged | Occurs when the ImeMode property has changed. Inherited from Control. |
Invalidated | Occurs when a control’s display requires redrawing. Inherited from Control. |
KeyDown | Occurs when a key is pressed while the control has focus. Inherited from Control. |
KeyPress | Occurs when a character. space or backspace key is pressed while the control has focus. Inherited from Control. |
KeyUp | Occurs when a key is released while the control has focus. Inherited from Control. |
Layout | Occurs when a control should reposition its child controls. Inherited from Control. |
Leave | Occurs when the input focus leaves the control. Inherited from Control. |
LocationChanged | Occurs when the Location property value has changed. Inherited from Control. |
LostFocus | Occurs when the control loses focus. Inherited from Control. |
MarginChanged | Occurs when the control’s margin changes. Inherited from Control. |
MouseCaptureChanged | Occurs when the control loses mouse capture. Inherited from Control. |
MouseClick | Occurs when the control is clicked by the mouse. Inherited from Control. |
MouseDoubleClick | Occurs when the control is double clicked by the mouse. Inherited from Control. |
MouseDown | Occurs when the mouse pointer is over the control and a mouse button is pressed. Inherited from Control. |
MouseEnter | Occurs when the mouse pointer enters the control. Inherited from Control. |
MouseHover | Occurs when the mouse pointer rests on the control. Inherited from Control. |
MouseLeave | Occurs when the mouse pointer leaves the control. Inherited from Control. |
MouseMove | Occurs when the mouse pointer is moved over the control. Inherited from Control. |
MouseUp | Occurs when the mouse pointer is over the control and a mouse button is released. Inherited from Control. |
MouseWheel | Occurs when the mouse wheel moves while the control has focus. Inherited from Control. |
Move | Occurs when the control is moved. Inherited from Control. |
OkClick | This member supports the internal infrastructure, and is not intended to be used directly from your code. Inherited from CalendarControl. |
PaddingChanged | Occurs when the control’s padding changes. Inherited from Control. |
Paint | Occurs when the control is redrawn. Inherited from Control. |
PaintEx | A DirectX-compatible event that replaces the standard Control.Paint event. Inherited from CalendarControlBase. |
ParentChanged | Occurs when the Parent property value changes. Inherited from Control. |
ParseEditValue | Allows you to parse a new value that is about to be assigned to the CalendarControlBase.EditValue property. Inherited from CalendarControlBase. |
PreviewKeyDown | Occurs before the KeyDown event when a key is pressed while focus is on this control. Inherited from Control. |
QueryAccessibilityHelp | Occurs when AccessibleObject is providing help to accessibility applications. Inherited from Control. |
QueryContinueDrag | Occurs during a drag-and-drop operation and enables the drag source to determine whether the drag-and-drop operation should be canceled. Inherited from Control. |
RegionChanged | Occurs when the value of the Region property changes. Inherited from Control. |
Resize | Occurs when the control is resized. Inherited from Control. |
RightToLeftChanged | Occurs when the RightToLeft property value changes. Inherited from Control. |
SelectionChanged | Fires when the selection changes. Inherited from CalendarControlBase. |
SizeChanged | Occurs when the Size property value changes. Inherited from Control. |
SpecialCalendarDate | Allows you to mark certain dates as “special” dates. These dates will be painted using the dedicated settings provided by the CalendarControlBase.CalendarAppearance object. Inherited from CalendarControlBase. |
StyleChanged | Occurs when the control style changes. Inherited from Control. |
SystemColorsChanged | Occurs when the system colors change. Inherited from Control. |
TabIndexChanged | Occurs when the TabIndex property value changes. Inherited from Control. |
TabStopChanged | Occurs when the TabStop property value changes. Inherited from Control. |
TextChanged | Occurs when the Text property value changes. Inherited from Control. |
TodayClick | Fires when the Today button is clicked. Inherited from CalendarControl. |
Validated | Occurs when the control is finished validating. Inherited from Control. |
Validating | Occurs when the control is validating. Inherited from Control. |
VisibleChanged | Occurs when the Visible property value changes. Inherited from Control. |
See Also