DateTimePickerEx

Description

The DateTimePickerEx class grants the DateTimePickerEx development environment component that implements the combined calendar with extended settings.

Properties inherited from IDateTimePickerEx

  Property name Brief description
The Alignment property determines the type of alignment of the drop-down calendar relative to the component borders.
The AutoResize property indicates whether the component sizes are adjusted automatically.
The Checked property determines state of the component flag.
The ColorBackground property determines background color of the component edit field.
The ColorText property determines text color in the component edit field.
The CurrentDate property determines date and time that are displayed in the component when form is launched.
The DropCalendar property determines whether it is possible to call a drop-down calendar in the component.
The DroppedDown property indicates whether the drop-down calendar of the component is displayed.
The EnableTodayButton property indicates whether the button for setting the current date and time is displayed in the drop-down calendar.
The EnableWeekNumbers property indicates whether the numbers of weeks is displayed in the drop-down calendar.
The FirstDayOfWeek property determines a day from which the week starts when the drop-down calendar is displayed.
The IsValidDate property indicates whether it is possible to set a specified value as a value of the component.
The MaxDate property determines the maximum date value that can be selected in the calendar.
The MinDate property determines the minimum date value that can be selected in the calendar.
The Mode property determines the mode of date setting in the calendar.
The MonthFormat property determines a style of month name displaying in the component edit field.
The ShowCheckbox property indicates whether there is a check box that determines access to the component.
The ShowDate property indicates whether date is displayed in the component.
The ShowModeDays property determines whether the button used to enable the mode of setting date by selecting a day in the month is shown in the component field.
The ShowModeHalfYears property determines whether the button used to enable the mode of setting date by selecting a half year is shown in the component field.
The ShowModeMonths property determines whether the button used to enable the mode of setting date by selecting a month in the year is shown in the component field.
The ShowModeQuarters property determines whether the button used to enable the mode of setting date by selecting a quarter in the year is shown in the component field.
The ShowModeWeeks property determines whether the button used to enable the mode of setting date by selecting a week in the half year is shown in the component field.
The ShowModeYears property determines whether the button used to enable the mode of setting date by selecting a year is shown in the component field.
The ShowSpinButton property indicates whether the SpinUp and SpinDown buttons that are used to change the values of date and time, are displayed.
The ShowTime property determines whether time is displayed in the component.
The SingleMonthMode property indicates whether dates of the month are separated from the numbers of weeks.

Properties inherited from IControl

  Property name Brief description
The Align property determines component alignment within its parent component.
The AllowDrag property determines whether an object can be dragged from a component.
The AllowDrop property determines whether a component can accept a dragged object.
The Anchors property returns settings determining % of the size change for the current component when the parent component is resized.
The Brush property specifies the brush used to fill the component area.
The ClientHeight property determines the height of the client component area.
The ClientWidth property determines the width of the client component area.
The Color property determines the background color of a component.
The Cursor property determines how the cursor looks like when you hover over a component during form execution.
The Enabled property determines whether a component is available for a user.
The Focused property returns True if the given component is focused.
The Font property defines the parameters of the font used to display text in a component.
The Heigth property determines the component height (pixels).
The HelpContext property determines the unique index for a section of a context help for this component.
The Hint property determines the tip text displayed if you hover over a component.
The HintTimeout property sets for how long the tooltip is shown.
The Left property determines the coordinate of the component left edge (pixels).
The Parent property determines the parent component.
The ParentColor property determines whether a component inherits the color of the parent component.
The ParentFont property determines whether a component should use the font of the parent component.
The ParentShowHint property determines when a tooltip is displayed.
The PopupMenu property determines the context menu displayed when a component is clicked using the right mouse button.
The Scrolls property returns parameters of component's scroll bars.
The ShowHint property determines whether a tooltip should be displayed when you hover over a component.
The TabOrder property determines the position of a component in a tab order.
The TabStop property determines whether the focus is set to a component when the Tab button is pressed.
The Text property determines the row identifying a component for a user.
The Top property determines the coordinate of the component upper edge (pixels).
The Visible property determines whether a component is displayed at the form runtime.
The Width property determines the horizontal size of a component (pixels).

Properties inherited from IComponent

  Property name Brief description
ComponentCount The ComponentCount property returns the number of child components, located on the parent component.
Components The Components property returns child property, the index of which is passed by the input parameter.
Data The Data property is used to store any custom data.
Name The Name property specifies the component name.
Tag The compiler does not use the Tag property. A user can change the value of the Tag property and use it as he wishes.

Methods inherited from IControl

   Method name Brief description
Outdated. The BringToFront method sends a component to the foreground.
The ClientToScreen method converts the coordinates of a point specified relative to the component coordinate system to screen coordinates.
The DoDragDrop method allows to start dragging.
The GetImage method returns a graphic presentation of a component together with all children.
The ScreenToClient method converts screen coordinates of a point to coordinates specified relative to the component coordinate system.
Outdated. The SendToBack method is used to send a component to the background.
The SetFocus method sets focus to this component.

Events

   Event name Brief description
The OnChange event occurs when date or time is changed in the component.
The OnCloseUp event occurs after the drop-down calendar has been collapsed.
The OnDropDown events occurs directly after expanding of the drop-down calendar.

Events inherited from IControl

  Event name Brief description
The OnBeginDrag event occurs for a component, when a user starts to drag an object from the component.
The OnClick event occurs, if a user clicks a component area using the main mouse button.
The OnControlMove event occurs when a component is moved.
The OnControlResize event occurs when a component is resized.
The OnDblClick event occurs if a user double clicks a component area using the mouse button.
The OnDragDrop event occurs for a component if a user drops a dragged object over it.
The OnDragEnter event occurs, when a dragged object enters the space of this component.
The OnDragLeave event occurs when a dragged object leaves the borders of this component.
The OnDragOver event occurs for this component when a user drags a dragged object over it.
The OnEnter event occurs when a component get focused.
The OnExit event occurs when a component loses focus.
The OnHScroll event occurs on changing position of horizontal scrollbar slider.
The OnKeyDown event occurs if a component is focused and a keyboard key is pressed.
The OnKeyPress event occurs if a component is focused when a user presses a character key.
The OnKeyPreview event occurs prior to each event requiring clicking.
The OnKeyUp event occurs if a component is focused and a user releases any button previously pressed.
The OnMouseDown event occurs when the pointer is in component area and a mouse button is pressed.
The OnMouseEnter event occurs when mouse cursor enters the component area.
The OnMouseHover event occurs when mouse cursor is held in the component area.
The OnMouseLeave event occurs when mouse cursor leaves the component area.
The OnMouseMove event occurs when the mouse cursor moves over a component.
The OnMouseUp event occurs on releasing mouse button when the cursor is in component area.
The OnMouseWheel event occurs if the component has focus when the mouse wheel is rotated.
The OnVScroll event occurs on changing position of vertical scrollbar slider.

See also:

Forms Assembly Classes