All pages
Powered by GitBook
1 of 2

Loading...

Loading...

TimeUpDownFormat

Wisej.Web.TimeUpDownFormat

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.2.0.0)

Specifies the time format the TimeUpDown control displays.

public enum TimeUpDownFormat : Enum
Public Enum TimeUpDownFormat As [Enum]

Fields

Name
Description

Used By

Name
Description

TimeUpDown

Wisej.Web.TimeUpDown

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.2.0.0)

HHMM

The TimeUpDown control displays the hours and the minutes in double digits: i.e. 09:00.

HHMMSS

The TimeUpDown control displays the hours the minutes and the seconds in double digits: i.e. 09:45:03.

HM

The TimeUpDown control displays the hours and the minutes in single or double digits: i.e. 9:45.

HMS

The TimeUpDown control displays the hours the minutes and the seconds in single or double digits: i.e. 9:45:3.

TimeUpDown.Format

Returns or sets the format use to display and parse the time value.

TimeUpDown

Represents a spinner control that displays TimeSpan values.

public class TimeUpDown : UpDownBase, ISupportInitialize, INotifyPropertyChanged
Public Class TimeUpDown
    Inherits UpDownBase
    Implements ISupportInitialize, INotifyPropertyChanged

Constructors

TimeUpDown()

Initializes a new instance of the TimeUpDown class.

Properties

Format

TimeUpDownFormat: Returns or sets the format use to display and parse the time value.

Maximum

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

Minimum

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

NullableValue

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:

  • ArgumentOutOfRangeException The assigned value is less than the Minimum property value; or the assigned value is greater than the Maximum property value.

Text

String: Returns or sets the text to be displayed in the TimeUpDown control.

Value

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

Throws:

  • ArgumentOutOfRangeException The assigned value is less than the Minimum property value; or the assigned value is greater than the Maximum property value.

Events

ValueChanged

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

Implements

Name
Description

Bindable components implement this interface.

All wisej components implement this interface.

All wisej controls derived from the class must implement this interface.

Allows an object to serialize itself.

Control
UpDownBase
IBindableComponent
IWisejComponent
IWisejControl
Control
IWisejSerializable