Name | Description | |
---|---|---|
NDateTimeTextBox Constructor | Default constructor. |
The following tables list the members exposed by NDateTimeTextBox.
Name | Description | |
---|---|---|
NDateTimeTextBox Constructor | Default constructor. |
Name | Description | |
---|---|---|
NDateTimeTextBoxSchema | Schema associated with NDateTimeTextBox. |
Name | Description | |
---|---|---|
Format | Gets the full format string extracted from the owner date/time box. | |
HasCustomFormat | Checks whether the owner date time box has a custom set date/time format. | |
OwnerDateTimeBox |
Name | Description | |
---|---|---|
DecreaseValue | Called when the value of the selection should decrease (e.g. when the user presses the down arrow key). | |
IncreaseValue | Called when the value of the selection should increase (e.g. when the user presses the up arrow key). | |
ModifyDateTime | Increases or decreases the specified unit of the given date/time and returns the result. | |
NavigateLeft | Called when the selection should move to the left (e.g. when the user presses the left arrow key). | |
NavigateRight | Called when the selection should move to the right (e.g. when the user presses the right arrow key). | |
OnInputChar | Overridden. Overriden to process the entered digits and to update the selected date accordingly. | |
OnKeyDown | Overridden. Overriden to handle the navigation keys (i.e. the arrows keys) and forbid all others. | |
OnMouseDown | Overridden. Overriden to select the word the user has clicked in. | |
OnTextChanged | Overridden. Overriden to update the text and format processors when the text of the text box has changed. | |
SetDateTime | Sets the specified unit of the given date/time to the given amount and returns the result. Note that no validation is performed and this methods throws and exception if an invalid date is constructed. |