C# Класс Fluqi.Widget.jSpinner.Options

A set of properties to apply to a set of jQuery UI Spinner.
Properties not yet supported:
Наследование: Core.Options
Показать файл Открыть проект

Открытые методы

Метод Описание
Options ( Fluqi.Widget.jSpinner.Spinner spinner ) : System

Constructor

SetCulture ( string culture ) : Options

Sets the culture to use for parsing and formatting the value. If null, the currently set culture in Globalize is used, see Globalize docs for available cultures. Only relevant if the SetNumberFormat option is set. Requires Globalize to be included.

SetDisabled ( bool disabled ) : Options

Disables the spinner.

SetIcons ( Core downIcon, Core upIcon ) : Options

Icons to use for buttons, matching an icon defined by the jQuery UI CSS Framework.

SetIcons ( string downIcon, string upIcon ) : Options

Icons to use for buttons, matching an icon defined by the jQuery UI CSS Framework.

SetIncremental ( bool inc ) : Options

Controls the number of steps taken when holding down a spin button. - When set to true, the stepping delta will increase when spun incessantly. - When set to false, all steps are equal (as defined by the step option).

SetIncremental ( string incMethod ) : Options

Controls the number of steps taken when holding down a spin button. - Receives one parameter: the number of spins that have occurred. Must return the number of steps that should occur for the current spin.

SetMax ( int value ) : Options

The maximum allowed value

SetMax ( string value ) : Options

The maximum allowed value

SetMin ( int value ) : Options

The minimum allowed value

SetMin ( string value ) : Options

The minimum allowed value

SetNumberFormat ( string value ) : Options

Format of numbers passed to Globalize, if available.

SetPage ( int value ) : Options

The number of steps to take when paging via the pageUp/pageDown methods.

SetStep ( int step ) : Options

The size of the step to take when spinning via buttons or via the stepUp()/stepDown() methods. The element's step attribute is used if it exists and the option is not explicitly set.

SetStep ( string step ) : Options

The size of the step to take when spinning via buttons or via the stepUp()/stepDown() methods. The element's step attribute is used if it exists and the option is not explicitly set.

Описание методов

Options() публичный Метод

Constructor
public Options ( Fluqi.Widget.jSpinner.Spinner spinner ) : System
spinner Fluqi.Widget.jSpinner.Spinner Spinner to configure options of
Результат System

SetCulture() публичный Метод

Sets the culture to use for parsing and formatting the value. If null, the currently set culture in Globalize is used, see Globalize docs for available cultures. Only relevant if the SetNumberFormat option is set. Requires Globalize to be included.
public SetCulture ( string culture ) : Options
culture string
Результат Options

SetDisabled() публичный Метод

Disables the spinner.
public SetDisabled ( bool disabled ) : Options
disabled bool
Результат Options

SetIcons() публичный Метод

Icons to use for buttons, matching an icon defined by the jQuery UI CSS Framework.
public SetIcons ( Core downIcon, Core upIcon ) : Options
downIcon Core Icon to use for the down
upIcon Core Icon to use for the up
Результат Options

SetIcons() публичный Метод

Icons to use for buttons, matching an icon defined by the jQuery UI CSS Framework.
public SetIcons ( string downIcon, string upIcon ) : Options
downIcon string Icon to use for the down
upIcon string Icon to use for the up
Результат Options

SetIncremental() публичный Метод

Controls the number of steps taken when holding down a spin button. - When set to true, the stepping delta will increase when spun incessantly. - When set to false, all steps are equal (as defined by the step option).
public SetIncremental ( bool inc ) : Options
inc bool
Результат Options

SetIncremental() публичный Метод

Controls the number of steps taken when holding down a spin button. - Receives one parameter: the number of spins that have occurred. Must return the number of steps that should occur for the current spin.
public SetIncremental ( string incMethod ) : Options
incMethod string
Результат Options

SetMax() публичный Метод

The maximum allowed value
public SetMax ( int value ) : Options
value int The maximum value
Результат Options

SetMax() публичный Метод

The maximum allowed value
public SetMax ( string value ) : Options
value string /// If Globalize is included, the min option can be passed as a string which will be parsed based on the /// numberFormat and culture options; otherwise it will fall back to the native parseFloat() method. ///
Результат Options

SetMin() публичный Метод

The minimum allowed value
public SetMin ( int value ) : Options
value int The minimum value
Результат Options

SetMin() публичный Метод

The minimum allowed value
public SetMin ( string value ) : Options
value string /// If Globalize is included, the min option can be passed as a string which will be parsed based on the /// numberFormat and culture options; otherwise it will fall back to the native parseFloat() method. ///
Результат Options

SetNumberFormat() публичный Метод

Format of numbers passed to Globalize, if available.
public SetNumberFormat ( string value ) : Options
value string /// Most common are "n" for a decimal number and "C" for a currency value. /// Also see the culture option. ///
Результат Options

SetPage() публичный Метод

The number of steps to take when paging via the pageUp/pageDown methods.
public SetPage ( int value ) : Options
value int New value
Результат Options

SetStep() публичный Метод

The size of the step to take when spinning via buttons or via the stepUp()/stepDown() methods. The element's step attribute is used if it exists and the option is not explicitly set.
public SetStep ( int step ) : Options
step int The size of the step
Результат Options

SetStep() публичный Метод

The size of the step to take when spinning via buttons or via the stepUp()/stepDown() methods. The element's step attribute is used if it exists and the option is not explicitly set.
public SetStep ( string step ) : Options
step string /// If Globalize is included, the step option can be passed as a string which will be parsed based on /// the numberFormat and culture options, otherwise it will fall back to the native parseFloat. ///
Результат Options