HeaderPane
Main
Hide
Share Link
Print

SftDate Class

The SftDate class represents a field for entering a date, a date and time, a time or a range of dates.

The value is shown in the format defined by the SftDate.Format property and the culture defined by the SftDate.Culture property, and is edited one part at a time (day, month, year, hours, ...) or as free text (SftDate.EditStyle property). The dropdown shows a calendar, a list of times or a clock (SftDate.DropDownContent and SftDate.TimeDropDownStyle properties). The field can be empty (SftDate.AllowEmpty property) or show a check box (SftDate.ShowCheckBox property).

Namespace: Softelvdm.SftDateNET
Assembly: Softelvdm.SftDateNET

Inheritance

Syntax

public class SftDate : Softelvdm.SftDateNET.Controls.SoftelvdmUserControl;
Public Class SftDate
    Inherits Softelvdm.SftDateNET.Controls.SoftelvdmUserControl

Constructors

PublicSftDateInitializes a new instance of the SftDate class.

Properties

PublicInherited from System.Windows.Forms.ControlAccessibilityObjectGets the AccessibleObject assigned to the control.
PublicInherited from System.Windows.Forms.ControlAccessibleDefaultActionDescriptionGets or sets the default action description of the control for use by accessibility client applications.
PublicInherited from System.Windows.Forms.ControlAccessibleDescriptionGets or sets the description of the control used by accessibility client applications.
PublicInherited from System.Windows.Forms.ControlAccessibleNameGets or sets the name of the control used by accessibility client applications.
PublicInherited from System.Windows.Forms.ControlAccessibleRoleGets or sets the accessible role of the control
PublicInherited from System.Windows.Forms.ControlAllowDropGets or sets a value indicating whether the control can accept data that the user drags onto it.
PublicAllowEmptyDefines whether the field can be empty.
PublicInherited from System.Windows.Forms.ControlAnchorGets or sets the edges of the container to which a control is bound and determines how a control is resized with its parent.
PublicAutoAdvanceDefines whether typing moves to the next part of the value when the current part is complete.
PublicInherited from System.Windows.Forms.ControlAutoScrollOffsetGets or sets where this control is scrolled to in ScrollControlIntoView.
PublicAutoSizeDefines whether the control sizes its height to its font.
PublicBackColorDefines the background color of the field.
PublicInherited from System.Windows.Forms.ControlBackgroundImageGets or sets the background image displayed in the control.
PublicInherited from System.Windows.Forms.ControlBackgroundImageLayoutGets or sets the background image layout as defined in the ImageLayout enumeration.
PublicInherited from System.Windows.Forms.ControlBindingContextGets or sets the BindingContext for the control.
PublicBorderColorDefines the color of a FixedSingle border.
PublicBorderStyleDefines the border of the field.
PublicInherited from System.Windows.Forms.ControlBottomGets the distance, in pixels, between the bottom edge of the control and the top edge of its container's client area.
PublicInherited from System.Windows.Forms.ControlBoundsGets or sets the size and location of the control including its nonclient elements, in pixels, relative to the parent control.
PublicButtonsDefines the buttons of the field.
PublicCalendarReturns the settings of the calendar shown in the dropdown.
ProtectedInherited from System.Windows.Forms.ControlCanEnableImeGets a value indicating whether the ImeMode property can be set to an active value, to enable IME support.
PublicInherited from System.Windows.Forms.ControlCanFocusGets a value indicating whether the control can receive focus.
ProtectedInherited from System.Windows.Forms.ControlCanRaiseEventsDetermines if events can be raised on the control.
PublicInherited from System.Windows.Forms.ControlCanSelectGets a value indicating whether the control can be selected.
PublicInherited from System.Windows.Forms.ControlCaptureGets or sets a value indicating whether the control has captured the mouse.
PublicInherited from System.Windows.Forms.ControlCausesValidationGets or sets a value indicating whether the control causes validation to be performed on any controls that require validation when it receives focus.
PublicCheckedDefines whether the check box is checked.
PublicStaticInherited from System.Windows.Forms.ControlCheckForIllegalCrossThreadCallsGets or sets a value indicating whether to catch calls on the wrong thread that access a control's Handle property when an application is being debugged.
PublicInherited from System.Windows.Forms.ControlClientRectangleGets the rectangle that represents the client area of the control.
PublicInherited from System.Windows.Forms.ControlClientSizeGets or sets the height and width of the client area of the control.
PublicInherited from System.Windows.Forms.ControlCompanyNameGets the name of the company or creator of the application containing the control.
PublicInherited from Softelvdm.SftDateNET.Controls.SoftelvdmUserControlComponentSettingsDefines the control's design-time settings.
PublicInherited from System.ComponentModel.ComponentContainerGets the IContainer that contains the Component.
PublicInherited from System.Windows.Forms.ControlContainsFocusGets a value indicating whether the control, or one of its child controls, currently has the input focus.
PublicContentsThe instance of the ContentsClass class that serializes the special dates for the Visual Studio designer.
PublicInherited from System.Windows.Forms.ControlContextMenuGets or sets the shortcut menu associated with the control.
PublicInherited from System.Windows.Forms.ControlContextMenuStripGets or sets the ContextMenuStrip associated with this control.
PublicInherited from System.Windows.Forms.ControlControlsGets the collection of controls contained within the control.
PublicInherited from System.Windows.Forms.ControlCreatedGets a value indicating whether the control has been created.
ProtectedInherited from Softelvdm.SftDateNET.Controls.SoftelvdmUserControlCreateParamsGets the required creation parameters when the control handle is created.
PublicCultureDefines the culture that provides the date and time patterns, the names and the calendar system.
PublicInherited from System.Windows.Forms.ControlCursorGets or sets the cursor that is displayed when the mouse pointer is over the control.
PublicInherited from Softelvdm.SftDateNET.Controls.SoftelvdmUserControlCustomCodeDefines optional product customization.
PublicCustomFormatDefines the custom format used when the SftDate.Format property is DateFormatEnum.Custom.
PublicInherited from Softelvdm.SftDateNET.Controls.SoftelvdmUserControlDarkModeDefines whether the control uses dark mode colors.
PublicInherited from Softelvdm.SftDateNET.Controls.SoftelvdmUserControlDarkModeActiveReturns whether dark mode colors are currently in use.
PublicInherited from System.Windows.Forms.ControlDataBindingsGets the data bindings for the control.
PublicDateOnlyValueDefines the date of the value (.NET 10 or later).
PublicStaticInherited from System.Windows.Forms.ControlDefaultBackColorGets the default background color of the control.
ProtectedInherited from System.Windows.Forms.ControlDefaultCursorGets or sets the default cursor for the control.
PublicStaticInherited from System.Windows.Forms.ControlDefaultFontGets the default font of the control.
PublicStaticInherited from System.Windows.Forms.ControlDefaultForeColorGets the default foreground color of the control.
ProtectedInherited from System.Windows.Forms.ControlDefaultImeModeGets the default Input Method Editor (IME) mode supported by the control.
ProtectedInherited from System.Windows.Forms.ControlDefaultMarginGets the space, in pixels, that is specified by default between controls.
ProtectedInherited from System.Windows.Forms.ControlDefaultMaximumSizeGets the length and height, in pixels, that is specified as the default maximum size of a control.
ProtectedInherited from System.Windows.Forms.ControlDefaultMinimumSizeGets the length and height, in pixels, that is specified as the default minimum size of a control.
ProtectedInherited from System.Windows.Forms.ControlDefaultPaddingGets the internal spacing, in pixels, of the contents of a control.
ProtectedInherited from System.Windows.Forms.ControlDefaultSizeGets the default size of the control.
PublicDefaultTextDefines a text such as =Today that sets the value when the control is created.
ProtectedInherited from System.ComponentModel.ComponentDesignModeGets a value that indicates whether the Component is currently in design mode.
PublicInherited from System.Windows.Forms.ControlDeviceDpiGets the DPI value for the display device where the control is currently being displayed.
PublicInherited from System.Windows.Forms.ControlDisplayRectangleGets the rectangle that represents the display area of the control.
PublicInherited from System.Windows.Forms.ControlDisposingGets a value indicating whether the base Control class is in the process of disposing.
PublicInherited from System.Windows.Forms.ControlDockGets or sets which control borders are docked to its parent control and determines how a control is resized with its parent.
ProtectedInherited from System.Windows.Forms.ControlDoubleBufferedGets or sets a value indicating whether this control should redraw its surface using a secondary buffer to reduce or prevent flicker.
PublicDropDownAlignmentDefines how the dropdown is aligned with the field.
PublicDropDownContentDefines what the dropdown shows.
PublicDropOnFocusDefines whether the dropdown opens when the field receives the focus.
PublicDroppedDownReturns whether the dropdown is shown.
PublicEditStyleDefines how the user types the value.
PublicInherited from System.Windows.Forms.ControlEnabledGets or sets a value indicating whether the control can respond to user interaction.
ProtectedInherited from System.ComponentModel.ComponentEventsGets the list of event handlers that are attached to this Component.
PublicInherited from System.Windows.Forms.ControlFocusedGets a value indicating whether the control has input focus.
PublicInherited from System.Windows.Forms.ControlFontGets or sets the font of the text displayed by the control.
ProtectedInherited from System.Windows.Forms.ControlFontHeightGets or sets the height of the font of the control.
PublicForeColorDefines the text color of the field.
PublicFormatDefines the format of the value.
PublicInherited from Softelvdm.SftDateNET.Controls.SoftelvdmUserControlGadgetsReturns the instance of the GadgetsClass object that is used to describe gadgets.
PublicInherited from System.Windows.Forms.ControlHandleGets the window handle that the control is bound to.
PublicInherited from System.Windows.Forms.ControlHasChildrenGets a value indicating whether the control contains one or more child controls.
PublicInherited from System.Windows.Forms.ControlHeightGets or sets the height of the control.
PublicInherited from Softelvdm.SftDateNET.Controls.SoftelvdmUserControlHighContrastActiveReturns whether the colors of the Windows contrast theme are currently in use.
PublicInherited from Softelvdm.SftDateNET.Controls.SoftelvdmUserControlHighContrastModeDefines whether the control uses the colors of the Windows contrast theme.
PublicInherited from Softelvdm.SftDateNET.Controls.SoftelvdmUserControlImageScalingDefines whether images are scaled with the display DPI.
PublicInherited from System.Windows.Forms.ControlImeModeGets or sets the Input Method Editor (IME) mode of the control.
ProtectedInherited from System.Windows.Forms.ControlImeModeBaseGets or sets the IME mode of a control.
PublicInherited from Softelvdm.SftDateNET.Controls.SoftelvdmUserControlInitializingDefines whether this control is initializing.
PublicInherited from System.Windows.Forms.ControlInvokeRequiredGets a value indicating whether the caller must call an invoke method when making method calls to the control because the caller is on a different thread than the one the control was created on.
PublicInherited from System.Windows.Forms.ControlIsAccessibleGets or sets a value indicating whether the control is visible to accessibility applications.
PublicInherited from System.Windows.Forms.ControlIsDisposedGets a value indicating whether the control has been disposed of.
PublicInherited from System.Windows.Forms.ControlIsHandleCreatedGets a value indicating whether the control has a handle associated with it.
PublicInherited from System.Windows.Forms.ControlIsMirroredGets a value indicating whether the control is mirrored.
PublicInherited from System.Windows.Forms.ControlLayoutEngineGets a cached instance of the control's layout engine.
PublicInherited from System.Windows.Forms.ControlLeftGets or sets the distance, in pixels, between the left edge of the control and the left edge of its container's client area.
PublicLicenseThe product's license number.
PublicInherited from System.Windows.Forms.ControlLocationGets or sets the coordinates of the upper-left corner of the control relative to the upper-left corner of its container.
PublicInherited from System.Windows.Forms.ControlMarginGets or sets the space between controls.
PublicMaxDateDefines the latest value.
PublicInherited from System.Windows.Forms.ControlMaximumSizeGets or sets the size that is the upper limit that GetPreferredSize can specify.
PublicInherited from Softelvdm.SftDateNET.Controls.SoftelvdmUserControlMergeStyleDefines the cell merging style used by cells.
PublicMinDateDefines the earliest value.
PublicInherited from System.Windows.Forms.ControlMinimumSizeGets or sets the size that is the lower limit that GetPreferredSize can specify.
PublicStaticInherited from System.Windows.Forms.ControlMouseButtonsGets a value indicating which of the mouse buttons is in a pressed state.
PublicStaticInherited from System.Windows.Forms.ControlMousePositionGets the position of the mouse cursor in screen coordinates.
PublicInherited from System.Windows.Forms.ControlNameGets or sets the name of the control.
PublicInherited from System.Windows.Forms.ControlPaddingGets or sets padding within the control.
PublicInherited from System.Windows.Forms.ControlParentGets or sets the parent container of the control.
PublicInherited from Softelvdm.SftDateNET.Controls.SoftelvdmUserControlPixelScalingDefines whether pixel values defined by the application are scaled with the display DPI.
PublicPlaceholderForeColorDefines the color of the placeholder text.
PublicPlaceholderTextDefines the text shown while the field is empty.
PublicPreferredHeightReturns the height that fits the font.
PublicInherited from System.Windows.Forms.ControlPreferredSizeGets the size of a rectangular area into which the control can fit.
PublicInherited from Softelvdm.SftDateNET.Controls.SoftelvdmUserControlProductNameReturns the product name of the control.
PublicInherited from Softelvdm.SftDateNET.Controls.SoftelvdmUserControlProductVersionReturns the version of the assembly containing the control.
ProtectedStaticInherited from System.Windows.Forms.ControlPropagatingImeModeGets an object that represents a propagating IME mode.
PublicRangeEndDefines the last date of the range.
PublicRangeSeparatorDefines the text between the first and last date of a range.
PublicRangeStartDefines the first date of the range.
PublicInherited from System.Windows.Forms.ControlRecreatingHandleGets a value indicating whether the control is currently re-creating its handle.
PublicInherited from System.Windows.Forms.ControlRegionGets or sets the window region associated with the control.
ProtectedInherited from System.Windows.Forms.ControlRenderRightToLeftThis property is now obsolete.
ProtectedInherited from System.Windows.Forms.ControlResizeRedrawGets or sets a value indicating whether the control redraws itself when resized.
PublicInherited from System.Windows.Forms.ControlRightGets the distance, in pixels, between the right edge of the control and the left edge of its container's client area.
PublicInherited from System.Windows.Forms.ControlRightToLeftGets or sets a value indicating whether control's elements are aligned to support locales using right-to-left fonts.
PublicInherited from Softelvdm.SftDateNET.Controls.SoftelvdmUserControlSaveSettingsDefines whether design-time control information is saved.
ProtectedInherited from System.Windows.Forms.ControlScaleChildrenGets a value that determines the scaling of child controls.
PublicSegmentHighlightBackColorDefines the background color of the part of the value being edited.
PublicSegmentHighlightForeColorDefines the text color of the part of the value being edited.
PublicSelectionModeDefines whether the field holds one date or a range of dates.
PublicShowCheckBoxDefines whether a check box is shown in front of the value.
PublicShowClearButtonDefines whether a button that empties the field is shown while it has a value.
ProtectedInherited from System.Windows.Forms.ControlShowFocusCuesGets a value indicating whether the control should display focus rectangles.
ProtectedInherited from System.Windows.Forms.ControlShowKeyboardCuesGets a value indicating whether the user interface is in the appropriate state to show or hide keyboard accelerators.
PublicInherited from System.Windows.Forms.ControlSiteGets or sets the site of the control.
PublicInherited from System.Windows.Forms.ControlSizeGets or sets the height and width of the control.
PublicInherited from System.Windows.Forms.ControlTabIndexGets or sets the tab order of the control within its container.
PublicInherited from System.Windows.Forms.ControlTabStopGets or sets a value indicating whether the user can give the focus to this control using the TAB key.
PublicInherited from System.Windows.Forms.ControlTagGets or sets the object that contains data about the control.
PublicTextDefines the formatted value; setting a text parses it with the culture.
PublicTimeDropDownStyleDefines how the dropdown offers times.
PublicTimeIntervalDefines the interval between the times of the time list.
PublicTimeOnlyValueDefines the time of day of the value (.NET 10 or later).
PublicInherited from System.Windows.Forms.ControlTopGets or sets the distance, in pixels, between the top edge of the control and the top edge of its container's client area.
PublicInherited from System.Windows.Forms.ControlTopLevelControlGets the parent control that is not parented by another Windows Forms control. Typically, this is the outermost Form that the control is contained in.
PublicInherited from Softelvdm.SftDateNET.Controls.SoftelvdmUserControlUseThemesDefines whether Windows themes are used (Windows XP and up).
PublicInherited from System.Windows.Forms.ControlUseWaitCursorGets or sets a value indicating whether to use the wait cursor for the current control and all child controls.
PublicValueDefines the value of the field.
PublicInherited from System.Windows.Forms.ControlVisibleGets or sets a value indicating whether the control and all its child controls are displayed.
PublicInherited from System.Windows.Forms.ControlWidthGets or sets the width of the control.
PublicInherited from System.Windows.Forms.ControlWindowTargetThis property is not relevant for this class.

Methods

ProtectedInherited from System.Windows.Forms.ControlAccessibilityNotifyClientsNotifies the accessibility client applications of the specified AccessibleEvents for the specified child control.
PublicAnnounceAnnounces a status message to screen readers.
PublicInherited from System.Windows.Forms.ControlBeginInvokeExecutes the specified delegate asynchronously on the thread that the control's underlying handle was created on.
PublicInherited from System.Windows.Forms.ControlBringToFrontBrings the control to the front of the z-order.
PublicInherited from Softelvdm.SftDateNET.Controls.SoftelvdmUserControlCancelModeCancels internal modes.
PublicCloseDropDownCloses the dropdown without changing the value.
PublicInherited from System.Windows.Forms.ControlContainsRetrieves a value indicating whether the specified control is a child of the control.
ProtectedInherited from System.Windows.Forms.ControlCreateAccessibilityInstanceCreates a new accessibility object for the control.
PublicInherited from System.Windows.Forms.ControlCreateControlForces the creation of the visible control, including the creation of the handle and any visible child controls.
ProtectedInherited from System.Windows.Forms.ControlCreateControlsInstanceCreates a new instance of the control collection for the control.
PublicInherited from System.Windows.Forms.ControlCreateGraphicsCreates the Graphics for the control.
ProtectedInherited from System.Windows.Forms.ControlCreateHandleCreates a handle for the control.
PublicInherited from System.MarshalByRefObjectCreateObjRefCreates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
ProtectedInherited from System.Windows.Forms.ControlDefWndProcSends the specified message to the default window procedure.
ProtectedInherited from System.Windows.Forms.ControlDestroyHandleDestroys the handle associated with the control.
PublicDisposeCleans up any resources being used.
PublicInherited from System.Windows.Forms.ControlDoDragDropBegins a drag-and-drop operation.
PublicInherited from System.Windows.Forms.ControlDrawToBitmapSupports rendering to the specified bitmap.
PublicInherited from System.Windows.Forms.ControlEndInvokeRetrieves the return value of the asynchronous operation represented by the IAsyncResult passed.
PublicInherited from System.ObjectEqualsDetermines whether the specified object is equal to the current object.
ProtectedInherited from System.ComponentModel.ComponentFinalizeReleases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
PublicInherited from System.Windows.Forms.ControlFindFormRetrieves the form that the control is on.
PublicInherited from Softelvdm.SftDateNET.Controls.SoftelvdmUserControlFocusSets the focus to this instance of the control.
PublicStaticInherited from System.Windows.Forms.ControlFromChildHandleRetrieves the control that contains the specified handle.
PublicStaticInherited from System.Windows.Forms.ControlFromHandleReturns the control that is currently associated with the specified handle.
ProtectedInherited from System.Windows.Forms.ControlGetAccessibilityObjectByIdRetrieves the specified AccessibleObject.
ProtectedInherited from System.Windows.Forms.ControlGetAutoSizeModeRetrieves a value indicating how a control will behave when its AutoSize property is enabled.
PublicInherited from System.Windows.Forms.ControlGetChildAtPointRetrieves the child control that is located at the specified coordinates.
PublicInherited from System.Windows.Forms.ControlGetContainerControlReturns the next ContainerControl up the control's chain of parent controls.
PublicStaticGetContentsReturns the special dates and properties of a control as an XML document.
PublicInherited from System.ObjectGetHashCodeServes as the default hash function.
PublicInherited from System.MarshalByRefObjectGetLifetimeServiceRetrieves the current lifetime service object that controls the lifetime policy for this instance.
PublicInherited from System.Windows.Forms.ControlGetNextControlRetrieves the next control forward or back in the tab order of child controls.
PublicGetPreferredSizeReturns the size that fits the value.
ProtectedInherited from System.Windows.Forms.ControlGetScaledBoundsRetrieves the bounds within which the control is scaled.
ProtectedInherited from System.ComponentModel.ComponentGetServiceReturns an object that represents a service provided by the Component or by its Container.
ProtectedInherited from System.Windows.Forms.ControlGetStyleRetrieves the value of the specified control style bit for the control.
ProtectedInherited from System.Windows.Forms.ControlGetTopLevelDetermines if the control is a top-level control.
PublicInherited from System.ObjectGetTypeGets the Type of the current instance.
PublicInherited from System.Windows.Forms.ControlHideConceals the control from the user.
PublicHitTestReturns the part of the field at a location.
PublicInherited from System.MarshalByRefObjectInitializeLifetimeServiceObtains a lifetime service object to control the lifetime policy for this instance.
ProtectedInherited from System.Windows.Forms.ControlInitLayoutCalled after the control has been added to another container.
PublicInherited from System.Windows.Forms.ControlInvalidateInvalidates the entire surface of the control and causes the control to be redrawn.
PublicInherited from System.Windows.Forms.ControlInvokeExecutes the specified delegate on the thread that owns the control's underlying window handle.
ProtectedInherited from System.Windows.Forms.ControlInvokeGotFocusRaises the GotFocus event for the specified control.
ProtectedInherited from System.Windows.Forms.ControlInvokeLostFocusRaises the LostFocus event for the specified control.
ProtectedInherited from System.Windows.Forms.ControlInvokeOnClickRaises the Click event for the specified control.
ProtectedInherited from System.Windows.Forms.ControlInvokePaintRaises the Paint event for the specified control.
ProtectedInherited from System.Windows.Forms.ControlInvokePaintBackgroundRaises the PaintBackground event for the specified control.
ProtectedInherited from System.Windows.Forms.ControlIsInputCharDetermines if a character is an input character that the control recognizes.
ProtectedIsInputKeyDetermines whether a key is an input key handled by the control.
PublicStaticInherited from System.Windows.Forms.ControlIsKeyLockedDetermines whether the CAPS LOCK, NUM LOCK, or SCROLL LOCK key is in effect.
PublicStaticInherited from System.Windows.Forms.ControlIsMnemonicDetermines if the specified character is the mnemonic character assigned to the control in the specified string.
PublicInherited from System.Windows.Forms.ControlLogicalToDeviceUnitsConverts a Logical DPI value to it's equivalent DeviceUnit DPI value.
ProtectedInherited from System.ObjectMemberwiseCloneCreates a shallow copy of the current Object.
ProtectedInherited from System.Windows.Forms.ControlNotifyInvalidateRaises the Invalidated event with a specified region of the control to invalidate.
ProtectedInherited from System.Windows.Forms.ControlOnAutoSizeChangedRaises the AutoSizeChanged event.
ProtectedInherited from System.Windows.Forms.ControlOnBackColorChangedRaises the BackColorChanged event.
ProtectedInherited from System.Windows.Forms.ControlOnBackgroundImageChangedRaises the BackgroundImageChanged event.
ProtectedInherited from System.Windows.Forms.ControlOnBackgroundImageLayoutChangedRaises the BackgroundImageLayoutChanged event.
ProtectedInherited from System.Windows.Forms.ControlOnBindingContextChangedRaises the BindingContextChanged event.
ProtectedInherited from System.Windows.Forms.ControlOnCausesValidationChangedRaises the CausesValidationChanged event.
ProtectedInherited from System.Windows.Forms.ControlOnChangeUICuesRaises the ChangeUICues event.
ProtectedInherited from System.Windows.Forms.ControlOnClickRaises the Click event.
ProtectedInherited from System.Windows.Forms.ControlOnClientSizeChangedRaises the ClientSizeChanged event.
ProtectedInherited from System.Windows.Forms.ControlOnContextMenuChangedRaises the ContextMenuChanged event.
ProtectedInherited from System.Windows.Forms.ControlOnContextMenuStripChangedRaises the ContextMenuStripChanged event.
ProtectedInherited from System.Windows.Forms.ControlOnControlAddedRaises the ControlAdded event.
ProtectedInherited from System.Windows.Forms.ControlOnControlRemovedRaises the ControlRemoved event.
ProtectedInherited from System.Windows.Forms.ControlOnCreateControlRaises the CreateControl method.
ProtectedInherited from System.Windows.Forms.ControlOnCursorChangedRaises the CursorChanged event.
ProtectedOnDayFormattingRaises the SftDate.DayFormatting event.
ProtectedInherited from System.Windows.Forms.ControlOnDockChangedRaises the DockChanged event.
ProtectedInherited from System.Windows.Forms.ControlOnDoubleClickRaises the DoubleClick event.
ProtectedInherited from System.Windows.Forms.ControlOnDpiChangedAfterParentRaises the DpiChangedAfterParent event.
ProtectedInherited from System.Windows.Forms.ControlOnDpiChangedBeforeParentRaises the DpiChangedBeforeParent event.
ProtectedInherited from System.Windows.Forms.ControlOnDragDropRaises the DragDrop event.
ProtectedInherited from System.Windows.Forms.ControlOnDragEnterRaises the DragEnter event.
ProtectedInherited from System.Windows.Forms.ControlOnDragLeaveRaises the DragLeave event.
ProtectedInherited from System.Windows.Forms.ControlOnDragOverRaises the DragOver event.
ProtectedOnDropDownClosedRaises the SftDate.DropDownClosed event.
ProtectedOnDropDownOpenedRaises the SftDate.DropDownOpened event.
ProtectedOnDropDownOpeningRaises the SftDate.DropDownOpening event.
ProtectedOnEnabledChangedRaises the EnabledChanged event.
ProtectedOnEnterRaises the Enter event.
ProtectedOnFontChangedRaises the FontChanged event.
ProtectedInherited from System.Windows.Forms.ControlOnForeColorChangedRaises the ForeColorChanged event.
ProtectedInherited from System.Windows.Forms.ControlOnGiveFeedbackRaises the GiveFeedback event.
ProtectedOnGotFocusRaises the GotFocus event.
ProtectedOnHandleCreatedRaises the HandleCreated event.
ProtectedInherited from System.Windows.Forms.ControlOnHandleDestroyedRaises the HandleDestroyed event.
ProtectedInherited from System.Windows.Forms.ControlOnHelpRequestedRaises the HelpRequested event.
ProtectedInherited from System.Windows.Forms.ControlOnImeModeChangedRaises the ImeModeChanged event.
ProtectedInherited from System.Windows.Forms.ControlOnInvalidatedRaises the Invalidated event.
ProtectedOnKeyDownRaises the KeyDown event.
ProtectedOnKeyPressRaises the KeyPress event.
ProtectedInherited from System.Windows.Forms.ControlOnKeyUpRaises the KeyUp event.
ProtectedInherited from System.Windows.Forms.ControlOnLayoutRaises the Layout event.
ProtectedOnLeaveRaises the Leave event.
ProtectedInherited from System.Windows.Forms.ControlOnLocationChangedRaises the LocationChanged event.
ProtectedOnLostFocusRaises the LostFocus event.
ProtectedInherited from System.Windows.Forms.ControlOnMarginChangedRaises the MarginChanged event.
ProtectedOnMouseCaptureChangedRaises the MouseCaptureChanged event.
ProtectedInherited from System.Windows.Forms.ControlOnMouseClickRaises the MouseClick event.
ProtectedInherited from System.Windows.Forms.ControlOnMouseDoubleClickRaises the MouseDoubleClick event.
ProtectedOnMouseDownRaises the MouseDown event.
ProtectedInherited from System.Windows.Forms.ControlOnMouseEnterRaises the MouseEnter event.
ProtectedInherited from System.Windows.Forms.ControlOnMouseHoverRaises the MouseHover event.
ProtectedOnMouseLeaveRaises the MouseLeave event.
ProtectedOnMouseMoveRaises the MouseMove event.
ProtectedOnMouseUpRaises the MouseUp event.
ProtectedOnMouseWheelRaises the MouseWheel event.
ProtectedInherited from System.Windows.Forms.ControlOnMoveRaises the Move event.
ProtectedInherited from System.Windows.Forms.ControlOnNotifyMessageNotifies the control of Windows messages.
ProtectedInherited from System.Windows.Forms.ControlOnPaddingChangedRaises the PaddingChanged event.
ProtectedOnPaintRaises the CellBaseClass.Paint event.
ProtectedOnPaintBackgroundPaints the background of the control.
ProtectedInherited from System.Windows.Forms.ControlOnParentBackColorChangedRaises the BackColorChanged event when the BackColor property value of the control's container changes.
ProtectedInherited from System.Windows.Forms.ControlOnParentBackgroundImageChangedRaises the BackgroundImageChanged event when the BackgroundImage property value of the control's container changes.
ProtectedInherited from System.Windows.Forms.ControlOnParentBindingContextChangedRaises the BindingContextChanged event when the BindingContext property value of the control's container changes.
ProtectedOnParentChangedRaises the ParentChanged event.
ProtectedInherited from System.Windows.Forms.ControlOnParentCursorChangedRaises the CursorChanged event.
ProtectedInherited from System.Windows.Forms.ControlOnParentEnabledChangedRaises the EnabledChanged event when the Enabled property value of the control's container changes.
ProtectedInherited from System.Windows.Forms.ControlOnParentFontChangedRaises the FontChanged event when the Font property value of the control's container changes.
ProtectedInherited from System.Windows.Forms.ControlOnParentForeColorChangedRaises the ForeColorChanged event when the ForeColor property value of the control's container changes.
ProtectedInherited from System.Windows.Forms.ControlOnParentRightToLeftChangedRaises the RightToLeftChanged event when the RightToLeft property value of the control's container changes.
ProtectedInherited from System.Windows.Forms.ControlOnParentVisibleChangedRaises the VisibleChanged event when the Visible property value of the control's container changes.
ProtectedInherited from System.Windows.Forms.ControlOnPreviewKeyDownRaises the PreviewKeyDown event.
ProtectedInherited from System.Windows.Forms.ControlOnPrintRaises the Paint event.
ProtectedInherited from System.Windows.Forms.ControlOnQueryContinueDragRaises the QueryContinueDrag event.
ProtectedOnRangeChangedRaises the SftDate.RangeChanged event.
ProtectedInherited from System.Windows.Forms.ControlOnRegionChangedRaises the RegionChanged event.
ProtectedInherited from System.Windows.Forms.ControlOnResizeRaises the Resize event.
ProtectedOnRightToLeftChangedRaises the RightToLeftChanged event.
ProtectedOnSizeChangedRaises the SizeChanged event.
ProtectedInherited from System.Windows.Forms.ControlOnStyleChangedRaises the StyleChanged event.
ProtectedInherited from System.Windows.Forms.ControlOnSystemColorsChangedRaises the SystemColorsChanged event.
ProtectedInherited from System.Windows.Forms.ControlOnTabIndexChangedRaises the TabIndexChanged event.
ProtectedInherited from System.Windows.Forms.ControlOnTabStopChangedRaises the TabStopChanged event.
ProtectedInherited from System.Windows.Forms.ControlOnTextChangedRaises the TextChanged event.
ProtectedOnTextParsingRaises the SftDate.TextParsing event.
ProtectedInherited from System.Windows.Forms.ControlOnValidatedRaises the Validated event.
ProtectedInherited from System.Windows.Forms.ControlOnValidatingRaises the Validating event.
ProtectedOnValueChangedRaises the SftDate.ValueChanged event.
ProtectedOnValueValidatingRaises the SftDate.ValueValidating event.
ProtectedOnVisibleChangedRaises the VisibleChanged event.
PublicOpenDropDownShows the dropdown.
PublicInherited from System.Windows.Forms.ControlPerformLayoutForces the control to apply layout logic to all its child controls.
PublicInherited from System.Windows.Forms.ControlPointToClientComputes the location of the specified screen point into client coordinates.
PublicInherited from System.Windows.Forms.ControlPointToScreenComputes the location of the specified client point into screen coordinates.
PublicInherited from System.Windows.Forms.ControlPreProcessControlMessagePreprocesses keyboard or input messages within the message loop before they are dispatched.
PublicInherited from System.Windows.Forms.ControlPreProcessMessagePreprocesses keyboard or input messages within the message loop before they are dispatched.
ProtectedProcessCmdKeyProcesses a command key.
ProtectedInherited from System.Windows.Forms.ControlProcessDialogCharProcesses a dialog character.
ProtectedProcessDialogKeyProcesses a dialog key.
ProtectedInherited from System.Windows.Forms.ControlProcessKeyEventArgsProcesses a key message and generates the appropriate control events.
ProtectedInherited from System.Windows.Forms.ControlProcessKeyMessageProcesses a keyboard message.
ProtectedInherited from System.Windows.Forms.ControlProcessKeyPreviewPreviews a keyboard message.
ProtectedInherited from System.Windows.Forms.ControlProcessMnemonicProcesses a mnemonic character.
ProtectedInherited from System.Windows.Forms.ControlRaiseDragEventRaises the appropriate drag event.
ProtectedInherited from System.Windows.Forms.ControlRaiseKeyEventRaises the appropriate key event.
ProtectedInherited from System.Windows.Forms.ControlRaiseMouseEventRaises the appropriate mouse event.
ProtectedInherited from System.Windows.Forms.ControlRaisePaintEventRaises the appropriate paint event.
ProtectedInherited from System.Windows.Forms.ControlRecreateHandleForces the re-creation of the handle for the control.
PublicInherited from System.Windows.Forms.ControlRectangleToClientComputes the size and location of the specified screen rectangle in client coordinates.
PublicInherited from System.Windows.Forms.ControlRectangleToScreenComputes the size and location of the specified client rectangle in screen coordinates.
PublicStaticInherited from System.ObjectReferenceEqualsDetermines whether the specified Object instances are the same instance.
ProtectedStaticInherited from System.Windows.Forms.ControlReflectMessageReflects the specified message to the control that is bound to the specified handle.
PublicInherited from System.Windows.Forms.ControlRefreshForces the control to invalidate its client area and immediately redraw itself and any child controls.
ProtectedInherited from System.Windows.Forms.ControlRescaleConstantsForDpiProvides constants for rescaling the control when a DPI change occurs.
PublicResetBackColorResets the background color to its default.
PublicInherited from System.Windows.Forms.ControlResetBindingsCauses a control bound to the BindingSource to reread all the items in the list and refresh their displayed values.
PublicInherited from System.Windows.Forms.ControlResetCursorResets the Cursor property to its default value.
PublicInherited from System.Windows.Forms.ControlResetFontResets the Font property to its default value.
PublicResetForeColorResets the text color to its default.
PublicInherited from System.Windows.Forms.ControlResetImeModeResets the ImeMode property to its default value.
ProtectedInherited from System.Windows.Forms.ControlResetMouseEventArgsResets the control to handle the MouseLeave event.
PublicInherited from System.Windows.Forms.ControlResetRightToLeftResets the RightToLeft property to its default value.
PublicInherited from System.Windows.Forms.ControlResetTextResets the Text property to its default value.
PublicInherited from System.Windows.Forms.ControlResumeLayoutResumes usual layout logic.
ProtectedInherited from System.Windows.Forms.ControlRtlTranslateAlignmentConverts the specified ContentAlignment to the appropriate ContentAlignment to support right-to-left text.
ProtectedInherited from System.Windows.Forms.ControlRtlTranslateContentConverts the specified ContentAlignment to the appropriate ContentAlignment to support right-to-left text.
ProtectedInherited from System.Windows.Forms.ControlRtlTranslateHorizontalConverts the specified HorizontalAlignment to the appropriate HorizontalAlignment to support right-to-left text.
ProtectedInherited from System.Windows.Forms.ControlRtlTranslateLeftRightConverts the specified LeftRightAlignment to the appropriate LeftRightAlignment to support right-to-left text.
PublicInherited from Softelvdm.SftDateNET.Controls.SoftelvdmUserControlSaveComponentSettingsInternal use only. Saves the component settings.
PublicInherited from System.Windows.Forms.ControlScaleScales the control and all child controls by the specified scaling factor.
PublicInherited from System.Windows.Forms.ControlScaleBitmapLogicalToDeviceScales a logical bitmap value to it's equivalent device unit value when a DPI change occurs.
ProtectedInherited from System.Windows.Forms.ControlScaleControlScales a control's location, size, padding and margin.
ProtectedInherited from System.Windows.Forms.ControlScaleCoreThis method is not relevant for this class.
PublicInherited from System.Windows.Forms.ControlSelectActivates the control.
PublicInherited from System.Windows.Forms.ControlSelectNextControlActivates the next control.
PublicInherited from System.Windows.Forms.ControlSendToBackSends the control to the back of the z-order.
ProtectedInherited from System.Windows.Forms.ControlSetAutoSizeModeSets a value indicating how a control will behave when its AutoSize property is enabled.
PublicInherited from System.Windows.Forms.ControlSetBoundsSets the bounds of the control to the specified location and size.
ProtectedSetBoundsCorePerforms the work of setting the bounds of the control.
ProtectedInherited from System.Windows.Forms.ControlSetClientSizeCoreSets the size of the client area of the control.
PublicStaticSetContentsLoads the special dates and properties of a control from an XML document.
ProtectedInherited from System.Windows.Forms.ControlSetStyleSets a specified ControlStyles flag to either true or false.
ProtectedInherited from System.Windows.Forms.ControlSetTopLevelSets the control as the top-level control.
ProtectedInherited from System.Windows.Forms.ControlSetVisibleCoreSets the control to the specified visible state.
PublicInherited from System.Windows.Forms.ControlShowDisplays the control to the user.
ProtectedInherited from System.Windows.Forms.ControlSizeFromClientSizeDetermines the size of the entire control from the height and width of its client area.
PublicInherited from System.Windows.Forms.ControlSuspendLayoutTemporarily suspends the layout logic for the control.
PublicInherited from System.ComponentModel.ComponentToStringReturns a String containing the name of the Component, if any. This method should not be overridden.
PublicInherited from Softelvdm.SftDateNET.Controls.SoftelvdmUserControlUpdateCauses the control to redraw the invalidated regions within its client area.
ProtectedInherited from System.Windows.Forms.ControlUpdateBoundsUpdates the bounds of the control with the current size and location.
ProtectedInherited from System.Windows.Forms.ControlUpdateStylesForces the assigned styles to be reapplied to the control.
ProtectedInherited from System.Windows.Forms.ControlUpdateZOrderUpdates the control in its parent's z-order.
ProtectedWndProcProcesses Windows messages.

Events

PublicInherited from System.Windows.Forms.ControlAutoSizeChangedThis event is not relevant for this class.
PublicInherited from System.Windows.Forms.ControlBackColorChangedOccurs when the value of the BackColor property changes.
PublicInherited from System.Windows.Forms.ControlBackgroundImageChangedOccurs when the value of the BackgroundImage property changes.
PublicInherited from System.Windows.Forms.ControlBackgroundImageLayoutChangedOccurs when the BackgroundImageLayout property changes.
PublicInherited from System.Windows.Forms.ControlBindingContextChangedOccurs when the value of the BindingContext property changes.
PublicInherited from System.Windows.Forms.ControlCausesValidationChangedOccurs when the value of the CausesValidation property changes.
PublicInherited from System.Windows.Forms.ControlChangeUICuesOccurs when the focus or keyboard user interface (UI) cues change.
PublicInherited from System.Windows.Forms.ControlClickOccurs when the control is clicked.
PublicInherited from System.Windows.Forms.ControlClientSizeChangedOccurs when the value of the ClientSize property changes.
PublicInherited from System.Windows.Forms.ControlContextMenuChangedOccurs when the value of the ContextMenu property changes.
PublicInherited from System.Windows.Forms.ControlContextMenuStripChangedOccurs when the value of the ContextMenuStrip property changes.
PublicInherited from System.Windows.Forms.ControlControlAddedOccurs when a new control is added to the ControlCollection.
PublicInherited from System.Windows.Forms.ControlControlRemovedOccurs when a control is removed from the ControlCollection.
PublicInherited from System.Windows.Forms.ControlCursorChangedOccurs when the value of the Cursor property changes.
PublicInherited from Softelvdm.SftDateNET.Controls.SoftelvdmUserControlDarkModeChangedOccurs when the control switches between light and dark mode colors.
PublicDayFormattingOccurs before a day of the dropdown calendar is shown.
PublicInherited from System.ComponentModel.ComponentDisposedOccurs when the component is disposed by a call to the Dispose method.
PublicInherited from System.Windows.Forms.ControlDockChangedOccurs when the value of the Dock property changes.
PublicInherited from System.Windows.Forms.ControlDoubleClickOccurs when the control is double-clicked.
PublicInherited from System.Windows.Forms.ControlDpiChangedAfterParentOccurs when the DPI setting for a control is changed programmatically after the DPI of its parent control or form has changed.
PublicInherited from System.Windows.Forms.ControlDpiChangedBeforeParentOccurs when the DPI setting for a control is changed programmatically before a DPI change event for its parent control or form has occurred.
PublicInherited from System.Windows.Forms.ControlDragDropOccurs when a drag-and-drop operation is completed.
PublicInherited from System.Windows.Forms.ControlDragEnterOccurs when an object is dragged into the control's bounds.
PublicInherited from System.Windows.Forms.ControlDragLeaveOccurs when an object is dragged out of the control's bounds.
PublicInherited from System.Windows.Forms.ControlDragOverOccurs when an object is dragged over the control's bounds.
PublicDropDownClosedOccurs when the dropdown has closed.
PublicDropDownOpenedOccurs when the dropdown has opened.
PublicDropDownOpeningOccurs before the dropdown opens; setting Cancel keeps it closed.
PublicInherited from System.Windows.Forms.ControlEnabledChangedOccurs when the Enabled property value has changed.
PublicInherited from System.Windows.Forms.ControlEnterOccurs when the control is entered.
PublicInherited from System.Windows.Forms.ControlFontChangedOccurs when the Font property value changes.
PublicInherited from System.Windows.Forms.ControlForeColorChangedOccurs when the ForeColor property value changes.
PublicInherited from System.Windows.Forms.ControlGiveFeedbackOccurs during a drag operation.
PublicInherited from System.Windows.Forms.ControlGotFocusOccurs when the control receives focus.
PublicInherited from System.Windows.Forms.ControlHandleCreatedOccurs when a handle is created for the control.
PublicInherited from System.Windows.Forms.ControlHandleDestroyedOccurs when the control's handle is in the process of being destroyed.
PublicInherited from System.Windows.Forms.ControlHelpRequestedOccurs when the user requests help for a control.
PublicInherited from Softelvdm.SftDateNET.Controls.SoftelvdmUserControlHighContrastChangedOccurs when the control switches between its own colors and the colors of the Windows contrast theme.
PublicInherited from System.Windows.Forms.ControlImeModeChangedOccurs when the ImeMode property has changed.
PublicInherited from System.Windows.Forms.ControlInvalidatedOccurs when a control's display requires redrawing.
PublicInherited from System.Windows.Forms.ControlKeyDownOccurs when a key is pressed while the control has focus.
PublicInherited from System.Windows.Forms.ControlKeyPressOccurs when a character. space or backspace key is pressed while the control has focus.
PublicInherited from System.Windows.Forms.ControlKeyUpOccurs when a key is released while the control has focus.
PublicInherited from System.Windows.Forms.ControlLayoutOccurs when a control should reposition its child controls.
PublicInherited from System.Windows.Forms.ControlLeaveOccurs when the input focus leaves the control.
PublicInherited from System.Windows.Forms.ControlLocationChangedOccurs when the Location property value has changed.
PublicInherited from System.Windows.Forms.ControlLostFocusOccurs when the control loses focus.
PublicInherited from System.Windows.Forms.ControlMarginChangedOccurs when the control's margin changes.
PublicInherited from System.Windows.Forms.ControlMouseCaptureChangedOccurs when the control loses mouse capture.
PublicInherited from System.Windows.Forms.ControlMouseClickOccurs when the control is clicked by the mouse.
PublicInherited from System.Windows.Forms.ControlMouseDoubleClickOccurs when the control is double clicked by the mouse.
PublicInherited from System.Windows.Forms.ControlMouseDownOccurs when the mouse pointer is over the control and a mouse button is pressed.
PublicInherited from System.Windows.Forms.ControlMouseEnterOccurs when the mouse pointer enters the control.
PublicInherited from System.Windows.Forms.ControlMouseHoverOccurs when the mouse pointer rests on the control.
PublicInherited from System.Windows.Forms.ControlMouseLeaveOccurs when the mouse pointer leaves the control.
PublicInherited from System.Windows.Forms.ControlMouseMoveOccurs when the mouse pointer is moved over the control.
PublicInherited from System.Windows.Forms.ControlMouseUpOccurs when the mouse pointer is over the control and a mouse button is released.
PublicInherited from System.Windows.Forms.ControlMouseWheelOccurs when the mouse wheel moves while the control has focus.
PublicInherited from System.Windows.Forms.ControlMoveOccurs when the control is moved.
PublicInherited from System.Windows.Forms.ControlPaddingChangedOccurs when the control's padding changes.
PublicInherited from System.Windows.Forms.ControlPaintOccurs when the control is redrawn.
PublicInherited from System.Windows.Forms.ControlParentChangedOccurs when the Parent property value changes.
PublicInherited from System.Windows.Forms.ControlPreviewKeyDownOccurs before the KeyDown event when a key is pressed while focus is on this control.
PublicInherited from Softelvdm.SftDateNET.Controls.SoftelvdmUserControlPropertyChangedOccurs when a property of an object derived from SoftelvdmUserControl is modified.
PublicInherited from System.Windows.Forms.ControlQueryAccessibilityHelpOccurs when AccessibleObject is providing help to accessibility applications.
PublicInherited from System.Windows.Forms.ControlQueryContinueDragOccurs during a drag-and-drop operation and enables the drag source to determine whether the drag-and-drop operation should be canceled.
PublicRangeChangedOccurs when the first or last date of the range changes.
PublicInherited from System.Windows.Forms.ControlRegionChangedOccurs when the value of the Region property changes.
PublicInherited from System.Windows.Forms.ControlResizeOccurs when the control is resized.
PublicInherited from System.Windows.Forms.ControlRightToLeftChangedOccurs when the RightToLeft property value changes.
PublicInherited from System.Windows.Forms.ControlSizeChangedOccurs when the Size property value changes.
PublicInherited from System.Windows.Forms.ControlStyleChangedOccurs when the control style changes.
PublicInherited from System.Windows.Forms.ControlSystemColorsChangedOccurs when the system colors change.
PublicInherited from System.Windows.Forms.ControlTabIndexChangedOccurs when the TabIndex property value changes.
PublicInherited from System.Windows.Forms.ControlTabStopChangedOccurs when the TabStop property value changes.
PublicInherited from System.Windows.Forms.ControlTextChangedOccurs when the Text property value changes.
PublicTextParsingOccurs before a text typed or pasted by the user is parsed.
PublicInherited from System.Windows.Forms.ControlValidatedOccurs when the control is finished validating.
PublicInherited from System.Windows.Forms.ControlValidatingOccurs when the control is validating.
PublicValueChangedOccurs when the value changes.
PublicValueValidatingOccurs before a value entered by the user is accepted.
PublicInherited from System.Windows.Forms.ControlVisibleChangedOccurs when the Visible property value changes.

Examples

C# View entire sample code

using System.Windows.Forms;

using Softelvdm.SftDateNET;
using Softelvdm.SftDateNET.Controls;

namespace DemoSample {
    public partial class Form1 : Form {

        private SftDate[] fields;

        public Form1() {
            InitializeComponent();
            fields = new SftDate[] { sftDate1, sftDate2, sftDate3, sftDate4, sftDate5, sftDate6, sftDate7, sftDate8, sftDate9 };

            comboCulture.Items.AddRange(new object[] {
                "(Windows setting)",

VB.NET View entire sample code

Imports System.Globalization
Imports Softelvdm.SftDateNET
Imports Softelvdm.SftDateNET.Controls

Public Class Form1

    Private fields() As SftDate

    Public Sub New()
        InitializeComponent()
        fields = New SftDate() {SftDate1, SftDate2, SftDate3, SftDate4, SftDate5, SftDate6, SftDate7, SftDate8, SftDate9}

        ComboCulture.Items.AddRange(New Object() {
            "(Windows setting)",
            "English (United States)",
            "German (Germany)",

See Also Classes | SftDate/NET 3.0