TimeUpDownExtensions

Wisej.Web.Markup.TimeUpDownExtensions

Namespace: Wisej.Web.Markup

Assembly: Wisej.Framework (4.0.0.0)

Adds fluent markup extension methods to the TimeUpDown class.

public class TimeUpDownExtensions

Methods

Maximum<TTimeUpDownControl>(domainUpDownControl, maximum)

Sets the maximum time value for the specified TimeUpDown control.

Parameter
Type
Description

TTimeUpDownControl

The type of the time up-down control.

domainUpDownControl

The time up-down control to modify.

maximum

The maximum time value to set.

Returns: TTimeUpDownControl. The time up-down control with the set maximum value.

Minimum<TTimeUpDownControl>(domainUpDownControl, minimum)

Sets the minimum time value for the specified TimeUpDown control.

Parameter
Type
Description

TTimeUpDownControl

The type of the time up-down control.

domainUpDownControl

The time up-down control to modify.

minimum

The minimum time value to set.

Returns: TTimeUpDownControl. The time up-down control with the set minimum value.

NullableValue<TTimeUpDownControl>(TimeUpDownControl, nullableValue)

Sets a nullable time value for the specified TimeUpDown control.

Parameter
Type
Description

TTimeUpDownControl

The type of the time up-down control.

TimeUpDownControl

The time up-down control to modify.

nullableValue

The nullable time value to set; can be null.

Returns: TTimeUpDownControl. The time up-down control with the set nullable value.

OnValueChanged<TTimeUpDownControl>(TimeUpDownControl, action)

Attaches a value-changed event handler to the specified TimeUpDown control.

Parameter
Type
Description

TTimeUpDownControl

The type of the time up-down control.

TimeUpDownControl

The time up-down control to modify.

action

The action to perform when the value changes.

Returns: TTimeUpDownControl. The time up-down control with the event handler attached.

Value<TTimeUpDownControl>(domainUpDownControl, value)

Sets the current time value for the specified TimeUpDown control.

Parameter
Type
Description

TTimeUpDownControl

The type of the time up-down control.

domainUpDownControl

The time up-down control to modify.

value

The time value to set.

Returns: TTimeUpDownControl. The time up-down control with the set value.

Last updated

Was this helpful?