Skip to main content
Version: 3.5

TimeUpDown

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Represents a spinner control that displays TimeSpan values.

public class TimeUpDown : UpDownBase, ISupportInitialize, INotifyPropertyChanged

Constructors

Instance memberTimeUpDown()

Initializes a new instance of the TimeUpDown class.

Properties

Instance memberFormat

TimeUpDownFormat: Returns or sets the format use to display and parse the time value. (Default: HHMM)

Instance memberHidePromptOnLeave

Boolean: Returns or sets whether the prompt characters in the input mask are hidden when the control loses focus. (Default: False)

Instance memberMaximum

TimeSpan: Returns or sets the maximum value for the time editor.

Instance memberMinimum

TimeSpan: Returns or sets the minimum allowed value for time editor.

Instance memberNullableValue

Nullable<TimeSpan>: Returns or sets the Value assigned to the spin box (also known as an up-down control) with the difference that when the text is empty it returns null.

This property should be used when the TimeUpDown may hold a null value and it's bound to a database nullable column. Throws:

Instance memberPromptChar

Char: Returns or sets the character used to represent the absence of user input in the TimeUpDown control. Since 3.5.5 (Default: _)

Throws:

  • ArgumentException The character specified when setting this property is not a valid prompt character.

Instance memberText

String: Returns or sets the text to be displayed in the TimeUpDown control. (Default: "")

Instance memberValue

TimeSpan: Returns or sets the value assigned to the TimeUpDown editor.

Throws:

Events

Instance memberValueChanged

EventHandler Fired when the Value property has been changed in some way.

Implements

NameDescription
IBindableComponentBindable components implement this interface.
IDropTargetControls that support drag & drop operations implement this interface.
ILabelProvides access to the LabelWrapper associated with the controls that implement this interface.
IReadOnlyProvides access to the ReadOnly property for coontrols that support the read-only mode.
IValidationProvides access to the validation events and properties property for controls that support validation.
IWisejComponentAll wisej components implement this interface.
IWisejControlAll wisej controls derived from the Control class must implement this interface.
IWisejSerializableAllows an object to serialize itself.