Culture(System.Globalization.CultureInfo culture)

Sets the culture used for number formatting. Requires Globalize.js on the client side.

Parameters

culture The culture.

Disabled(bool disabled)

Sets a value indicating whether the spinner is disabled.

Parameters

disabled If true, the spinner is disabled.

Incremental(bool incremental)

Sets a value indicating whether the stepping delta should be increased when spun incessantly.

Parameters

incremental If true, the stepping delta is increased when spun incessantly, otherwise it is constant.

Icons(string upIconCssClassName, string downIconCssClassName)

Sets the up and down icons.

Parameters

upIconCssClassName The CSS class name of the up icon.
downIconCssClassName The CSS class name of the down icon.

DecimalDigits(uint count)

Sets the number of decimal digits.

Parameters

count The number of decimal digits.

Max(System.Double max)

Sets the maximum value.

Parameters

max The maximum value.

Min(System.Double min)

Sets the minimum value.

Parameters

min The minimum value.

Page(uint numberOfSteps)

Sets the number of steps to take when paging.

Parameters

numberOfSteps The number of steps per page.

Step(System.Double step)

Sets the value of a single step.

Parameters

step The value of a step.

OnChange(string functionName)

Sets the name of the JavaScript function that is triggered when the value has changed and the input is no longer focused.

Parameters

functionName The name of the function.

OnCreate(string functionName)

Sets the name of the JavaScript function that is triggered when the spinner is created.

Parameters

functionName The name of the function.

OnSpin(string functionName)

Sets the name of the JavaScript function that is triggered during increment and decrement.

Parameters

functionName The name of the function.

OnStart(string functionName)

Sets the name of the JavaScript function that is triggered before a spin.

Parameters

functionName The name of the function.

OnStop(string functionName)

Sets the name of the JavaScript function that is triggered after a spin.

Parameters

functionName The name of the function.