Ext.NET  5.3.0
.NET Component Framework for Enterprise Level Apps
Ext.Net.SliderBase.Builder< TSliderBase, TBuilder > Class Template Reference

More...

Inheritance diagram for Ext.Net.SliderBase.Builder< TSliderBase, TBuilder >:
Ext.Net.Field.Builder< TSliderBase, TBuilder >

Public Member Functions

 Builder (TSliderBase component)
 
virtual TBuilder Single (bool single)
 True for single thumb slider More...
 
virtual TBuilder Number (double? number)
 Thumbs value More...
 
virtual TBuilder Numbers (double[] numbers)
 Thumbs values list More...
 
virtual TBuilder PublishOnComplete (bool publishOnComplete)
 This controls when the value of the slider is published to the ViewModel. More...
 
virtual TBuilder Animate (bool animate)
 Turn on or off animation. Defaults to true More...
 
virtual TBuilder ClickToChange (bool clickToChange)
 Determines whether or not clicking on the Slider axis will change the slider. Defaults to true More...
 
virtual TBuilder ConstrainThumbs (bool constrainThumbs)
 True to disallow thumbs from overlapping one another. Defaults to true More...
 
virtual TBuilder DecimalPrecision (int decimalPrecision)
 The number of decimal places to which to round the Slider's value. Defaults to 0. More...
 
virtual TBuilder Increment (int increment)
 How many units to change the slider when adjusting by drag and drop. Use this option to enable 'snapping'. More...
 
virtual TBuilder KeyIncrement (int keyIncrement)
 How many units to change the Slider when adjusting with keyboard navigation. Defaults to 1. If the increment config is larger, it will be used instead. More...
 
virtual TBuilder PageSize (int pageSize)
 The number of records considered to form a 'page'. This is used to power the built-in paging using the nextPage and previousPage functions when the grid is paged using a PagingToolbar Defaults to 25. More...
 
virtual TBuilder MaxValue (double maxValue)
 The maximum value for the Slider. Defaults to 100. More...
 
virtual TBuilder MinValue (double minValue)
 The minimum value for the Slider. Defaults to 0. More...
 
virtual TBuilder ThumbPerValue (bool? thumbPerValue)
 Configure as true to allow thumbs to be added and removed dynamically from the slider when calling method-setValue with an an array of values differing from the current number of thumbs. More...
 
virtual TBuilder Vertical (bool vertical)
 Orient the Slider vertically rather than horizontally, defaults to false. More...
 
virtual TBuilder ZeroBasedSnapping (bool zeroBasedSnapping)
 Set to true to calculate snap points based on increments from zero as opposed to from this Slider's minValue. More...
 
virtual TBuilder UseTips (bool useTips)
 True to use an Ext.slider.Tip to display tips for the value. Defaults to: true More...
 
virtual TBuilder TipText (Action< JFunction > action)
 A function used to display custom text for the slider tip. Defaults to null, which will use the default on the plugin. More...
 
virtual TBuilder Value (object value)
 A value to initialize this field with. More...
 
virtual TBuilder SyncThumbs ()
 Synchronizes thumbs position to the proper proportion of the total component width based on the current slider value. This will be called automatically when the Slider is resized by a layout, but if it is rendered auto width, this method can be called from another resize handler to sync the Slider if necessary. More...
 
virtual TBuilder AddThumb (int value)
 Creates a new thumb and adds it to the slider More...
 
virtual TBuilder RemoveThumb (int thumb)
 
virtual TBuilder RemoveThumb (object thumb)
 

Detailed Description

Type Constraints
TSliderBase :SliderBase 
TBuilder :Builder 
TBuilder :TSliderBase 
TBuilder :TBuilder 

Constructor & Destructor Documentation

◆ Builder()

Ext.Net.SliderBase.Builder< TSliderBase, TBuilder >.Builder ( TSliderBase  component)
inline

Member Function Documentation

◆ AddThumb()

virtual TBuilder Ext.Net.SliderBase.Builder< TSliderBase, TBuilder >.AddThumb ( int  value)
inlinevirtual

Creates a new thumb and adds it to the slider

◆ Animate()

virtual TBuilder Ext.Net.SliderBase.Builder< TSliderBase, TBuilder >.Animate ( bool  animate)
inlinevirtual

Turn on or off animation. Defaults to true

◆ ClickToChange()

virtual TBuilder Ext.Net.SliderBase.Builder< TSliderBase, TBuilder >.ClickToChange ( bool  clickToChange)
inlinevirtual

Determines whether or not clicking on the Slider axis will change the slider. Defaults to true

◆ ConstrainThumbs()

virtual TBuilder Ext.Net.SliderBase.Builder< TSliderBase, TBuilder >.ConstrainThumbs ( bool  constrainThumbs)
inlinevirtual

True to disallow thumbs from overlapping one another. Defaults to true

◆ DecimalPrecision()

virtual TBuilder Ext.Net.SliderBase.Builder< TSliderBase, TBuilder >.DecimalPrecision ( int  decimalPrecision)
inlinevirtual

The number of decimal places to which to round the Slider's value. Defaults to 0.

◆ Increment()

virtual TBuilder Ext.Net.SliderBase.Builder< TSliderBase, TBuilder >.Increment ( int  increment)
inlinevirtual

How many units to change the slider when adjusting by drag and drop. Use this option to enable 'snapping'.

◆ KeyIncrement()

virtual TBuilder Ext.Net.SliderBase.Builder< TSliderBase, TBuilder >.KeyIncrement ( int  keyIncrement)
inlinevirtual

How many units to change the Slider when adjusting with keyboard navigation. Defaults to 1. If the increment config is larger, it will be used instead.

◆ MaxValue()

virtual TBuilder Ext.Net.SliderBase.Builder< TSliderBase, TBuilder >.MaxValue ( double  maxValue)
inlinevirtual

The maximum value for the Slider. Defaults to 100.

◆ MinValue()

virtual TBuilder Ext.Net.SliderBase.Builder< TSliderBase, TBuilder >.MinValue ( double  minValue)
inlinevirtual

The minimum value for the Slider. Defaults to 0.

◆ Number()

virtual TBuilder Ext.Net.SliderBase.Builder< TSliderBase, TBuilder >.Number ( double?  number)
inlinevirtual

Thumbs value

◆ Numbers()

virtual TBuilder Ext.Net.SliderBase.Builder< TSliderBase, TBuilder >.Numbers ( double[]  numbers)
inlinevirtual

Thumbs values list

◆ PageSize()

virtual TBuilder Ext.Net.SliderBase.Builder< TSliderBase, TBuilder >.PageSize ( int  pageSize)
inlinevirtual

The number of records considered to form a 'page'. This is used to power the built-in paging using the nextPage and previousPage functions when the grid is paged using a PagingToolbar Defaults to 25.

To disable paging, set the pageSize to 0.

Defaults to: 25

◆ PublishOnComplete()

virtual TBuilder Ext.Net.SliderBase.Builder< TSliderBase, TBuilder >.PublishOnComplete ( bool  publishOnComplete)
inlinevirtual

This controls when the value of the slider is published to the ViewModel.

◆ RemoveThumb() [1/2]

virtual TBuilder Ext.Net.SliderBase.Builder< TSliderBase, TBuilder >.RemoveThumb ( int  thumb)
inlinevirtual

◆ RemoveThumb() [2/2]

virtual TBuilder Ext.Net.SliderBase.Builder< TSliderBase, TBuilder >.RemoveThumb ( object  thumb)
inlinevirtual

◆ Single()

virtual TBuilder Ext.Net.SliderBase.Builder< TSliderBase, TBuilder >.Single ( bool  single)
inlinevirtual

True for single thumb slider

◆ SyncThumbs()

virtual TBuilder Ext.Net.SliderBase.Builder< TSliderBase, TBuilder >.SyncThumbs ( )
inlinevirtual

Synchronizes thumbs position to the proper proportion of the total component width based on the current slider value. This will be called automatically when the Slider is resized by a layout, but if it is rendered auto width, this method can be called from another resize handler to sync the Slider if necessary.

◆ ThumbPerValue()

virtual TBuilder Ext.Net.SliderBase.Builder< TSliderBase, TBuilder >.ThumbPerValue ( bool?  thumbPerValue)
inlinevirtual

Configure as true to allow thumbs to be added and removed dynamically from the slider when calling method-setValue with an an array of values differing from the current number of thumbs.

◆ TipText()

virtual TBuilder Ext.Net.SliderBase.Builder< TSliderBase, TBuilder >.TipText ( Action< JFunction action)
inlinevirtual

A function used to display custom text for the slider tip. Defaults to null, which will use the default on the plugin.

Parameters
actionThe action delegate
Returns
An instance of TBuilder

◆ UseTips()

virtual TBuilder Ext.Net.SliderBase.Builder< TSliderBase, TBuilder >.UseTips ( bool  useTips)
inlinevirtual

True to use an Ext.slider.Tip to display tips for the value. Defaults to: true

◆ Value()

virtual TBuilder Ext.Net.SliderBase.Builder< TSliderBase, TBuilder >.Value ( object  value)
inlinevirtual

A value to initialize this field with.

◆ Vertical()

virtual TBuilder Ext.Net.SliderBase.Builder< TSliderBase, TBuilder >.Vertical ( bool  vertical)
inlinevirtual

Orient the Slider vertically rather than horizontally, defaults to false.

◆ ZeroBasedSnapping()

virtual TBuilder Ext.Net.SliderBase.Builder< TSliderBase, TBuilder >.ZeroBasedSnapping ( bool  zeroBasedSnapping)
inlinevirtual

Set to true to calculate snap points based on increments from zero as opposed to from this Slider's minValue.


The documentation for this class was generated from the following file: