C# Класс Fluqi.Widget.jSlider.Methods

The "Methods" are called after the control has been initialised. If for instance you want to change the value of a property, or invoke "some" action on the control (e.g. "open" or "close") you call the "Method" rather than through the "Options" (as Options is about the initialisation of the control).
Наследование: Core.Methods
Показать файл Открыть проект

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

Метод Описание
Destroy ( ) : void

Remove the slider functionality completely. This will return the element back to its pre-init state.

Disable ( ) : void

Disable the slider.

Enable ( ) : void

Enable the slider.

GetAnimate ( ) : void

Returns [in JavaScript] the current "animate" setting.

GetMax ( ) : void

Returns [in JavaScript] the current "max" setting.

GetMin ( ) : void

Returns [in JavaScript] the current "min" setting.

GetOrientation ( ) : void

Returns [in JavaScript] the current "orientation" setting.

GetRange ( ) : void

Returns [in JavaScript] the current "range" setting.

GetStep ( ) : void

Returns [in JavaScript] the current "step" setting.

GetValue ( ) : void

Gets the value of the spinner. For single handle sliders.

GetValue ( int index ) : void

Gets the values of the slider. For multiple handle or range sliders.

Methods ( Fluqi.Widget.jSlider.Slider sldr ) : System

Constructor

SetAnimate ( Core speed ) : void

Whether to slide handle smoothly when user click outside handle on the bar. Will

SetAnimate ( int newValue ) : void

Whether to slide handle smoothly when user click outside handle on the bar.

SetAnimate ( string speed ) : void

Whether to slide handle smoothly when user click outside handle on the bar.

SetMax ( int newValue ) : void

The maximum value of the slider.

SetMin ( int newValue ) : void

The minimum value of the slider.

SetOrientation ( Core newValue ) : void

This option determines whether the slider has the min at the left, the max at the right or the min at the bottom, the max at the top. Possible values: 'horizontal', 'vertical'.

SetOrientation ( string newValue ) : void

This option determines whether the slider has the min at the left, the max at the right or the min at the bottom, the max at the top. Possible values: 'horizontal', 'vertical'.

SetOrientation ( string newValue, bool inDoubleQuotes ) : void

This option determines whether the slider has the min at the left, the max at the right or the min at the bottom, the max at the top. Possible values: 'horizontal', 'vertical'.

SetOrientationJS ( string newValue ) : void

This option determines whether the slider has the min at the left, the max at the right or the min at the bottom, the max at the top. Possible values: 'horizontal', 'vertical'. This entry point does _not_ add quotes to the input value and is indended for passing JavaScript (that is when rendered, the input value will refer to a JavaScript variable for instance).

SetRange ( bool newValue ) : void

If set to true, the slider will detect if you have two handles and create a stylable range element between these two. Two other possible values are 'min' and 'max'. A min range goes from the slider min to one handle. A max range goes from one handle to the slider max.

SetRangeToMax ( ) : void

Max range goes from one handle to the slider max.

SetRangeToMin ( ) : void

Min range goes from the slider min to one handle.

SetStep ( int newValue ) : void

Determines the size or amount of each interval or step the slider takes between min and max. The full specified value range of the slider (max - min) needs to be evenly divisible by the step.

SetValue ( int newValue ) : void

Sets the value of the slider. For single handle sliders.

SetValue ( int index, int newValue ) : void

Sets the values of the slider. For multiple handle or range sliders.

Widget ( ) : void

Returns the .ui-slider element.

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

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

Remove the slider functionality completely. This will return the element back to its pre-init state.
public Destroy ( ) : void
Результат void

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

Disable the slider.
public Disable ( ) : void
Результат void

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

Enable the slider.
public Enable ( ) : void
Результат void

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

Returns [in JavaScript] the current "animate" setting.
public GetAnimate ( ) : void
Результат void

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

Returns [in JavaScript] the current "max" setting.
public GetMax ( ) : void
Результат void

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

Returns [in JavaScript] the current "min" setting.
public GetMin ( ) : void
Результат void

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

Returns [in JavaScript] the current "orientation" setting.
public GetOrientation ( ) : void
Результат void

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

Returns [in JavaScript] the current "range" setting.
public GetRange ( ) : void
Результат void

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

Returns [in JavaScript] the current "step" setting.
public GetStep ( ) : void
Результат void

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

Gets the value of the spinner. For single handle sliders.
public GetValue ( ) : void
Результат void

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

Gets the values of the slider. For multiple handle or range sliders.
public GetValue ( int index ) : void
index int
Результат void

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

Constructor
public Methods ( Fluqi.Widget.jSlider.Slider sldr ) : System
sldr Fluqi.Widget.jSlider.Slider Slider object to call
Результат System

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

Whether to slide handle smoothly when user click outside handle on the bar. Will
public SetAnimate ( Core speed ) : void
speed Core New animate setting - "slow", "normal", or "fast"
Результат void

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

Whether to slide handle smoothly when user click outside handle on the bar.
public SetAnimate ( int newValue ) : void
newValue int New animate setting - in milliseconds
Результат void

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

Whether to slide handle smoothly when user click outside handle on the bar.
public SetAnimate ( string speed ) : void
speed string New animate setting - "slow", "normal", or "fast"
Результат void

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

The maximum value of the slider.
public SetMax ( int newValue ) : void
newValue int New max setting
Результат void

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

The minimum value of the slider.
public SetMin ( int newValue ) : void
newValue int New min setting
Результат void

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

This option determines whether the slider has the min at the left, the max at the right or the min at the bottom, the max at the top. Possible values: 'horizontal', 'vertical'.
public SetOrientation ( Core newValue ) : void
newValue Core New orientation setting
Результат void

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

This option determines whether the slider has the min at the left, the max at the right or the min at the bottom, the max at the top. Possible values: 'horizontal', 'vertical'.
public SetOrientation ( string newValue ) : void
newValue string New orientation setting
Результат void

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

This option determines whether the slider has the min at the left, the max at the right or the min at the bottom, the max at the top. Possible values: 'horizontal', 'vertical'.
public SetOrientation ( string newValue, bool inDoubleQuotes ) : void
newValue string New orientation setting
inDoubleQuotes bool /// true - double quotes (") /// false - single quotes (') ///
Результат void

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

This option determines whether the slider has the min at the left, the max at the right or the min at the bottom, the max at the top. Possible values: 'horizontal', 'vertical'. This entry point does _not_ add quotes to the input value and is indended for passing JavaScript (that is when rendered, the input value will refer to a JavaScript variable for instance).
public SetOrientationJS ( string newValue ) : void
newValue string New orientation setting
Результат void

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

If set to true, the slider will detect if you have two handles and create a stylable range element between these two. Two other possible values are 'min' and 'max'. A min range goes from the slider min to one handle. A max range goes from one handle to the slider max.
public SetRange ( bool newValue ) : void
newValue bool New range setting
Результат void

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

Max range goes from one handle to the slider max.
public SetRangeToMax ( ) : void
Результат void

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

Min range goes from the slider min to one handle.
public SetRangeToMin ( ) : void
Результат void

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

Determines the size or amount of each interval or step the slider takes between min and max. The full specified value range of the slider (max - min) needs to be evenly divisible by the step.
public SetStep ( int newValue ) : void
newValue int New step setting
Результат void

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

Sets the value of the slider. For single handle sliders.
public SetValue ( int newValue ) : void
newValue int
Результат void

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

Sets the values of the slider. For multiple handle or range sliders.
public SetValue ( int index, int newValue ) : void
index int
newValue int
Результат void

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

Returns the .ui-slider element.
public Widget ( ) : void
Результат void