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

More...

Inheritance diagram for Ext.Net.Slider.Builder< TSlider, TBuilder >:
Ext.Net.SliderBase.Builder< TSlider, TBuilder >

Public Member Functions

 Builder (TSlider component)
 
virtual TBuilder Listeners (Action< SliderListeners > action)
 Client-side JavaScript Event Handlers More...
 
virtual TBuilder DirectEvents (Action< SliderDirectEvents > action)
 Server-side DirectEventHandlers More...
 
 Builder ()
 
 Builder (Slider component)
 
 Builder (Slider.Config config)
 
- Public Member Functions inherited from Ext.Net.SliderBase.Builder< TSlider, TBuilder >
 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)
 

Static Public Member Functions

static implicit operator Builder (Slider component)
 

Detailed Description

Type Constraints
TSlider :Slider 
TBuilder :Builder 
TBuilder :TSlider 
TBuilder :TBuilder 

Constructor & Destructor Documentation

◆ Builder() [1/4]

Ext.Net.Slider.Builder< TSlider, TBuilder >.Builder ( TSlider  component)
inline

◆ Builder() [2/4]

Ext.Net.Slider.Builder< TSlider, TBuilder >.Builder ( )
inline

◆ Builder() [3/4]

Ext.Net.Slider.Builder< TSlider, TBuilder >.Builder ( Slider  component)
inline

◆ Builder() [4/4]

Ext.Net.Slider.Builder< TSlider, TBuilder >.Builder ( Slider.Config  config)
inline

Member Function Documentation

◆ DirectEvents()

virtual TBuilder Ext.Net.Slider.Builder< TSlider, TBuilder >.DirectEvents ( Action< SliderDirectEvents action)
inlinevirtual

Server-side DirectEventHandlers

Parameters
actionThe action delegate
Returns
An instance of TBuilder

◆ Listeners()

virtual TBuilder Ext.Net.Slider.Builder< TSlider, TBuilder >.Listeners ( Action< SliderListeners action)
inlinevirtual

Client-side JavaScript Event Handlers

Parameters
actionThe action delegate
Returns
An instance of TBuilder

◆ operator Builder()

static implicit Ext.Net.Slider.Builder< TSlider, TBuilder >.operator Builder ( Slider  component)
inlinestatic


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