Skip to content

Simple number box

Number box will be automatically created for the properties of int and double types.

cs
public int Number { get; set; }
public double FloatingNumber { get; set; }

Style of the number box can be customized via the NumberBoxOptionsAttribute

Number boxes with additional styles allowing specifying the units and displaying thumbwheel for changing the value

cs
[NumberBoxOptions(NumberBoxUnitType_e.Length, 0, 1000, 0.01, true, 0.02, 0.001,
    NumberBoxStyle_e.Thumbwheel)]
public double Length { get; set; }