Class SliderTicksDataBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
SliderTicksDataBuilder
Namespace: Syncfusion.EJ2.Inputs
Assembly: Syncfusion.EJ2.dll
Syntax
public class SliderTicksDataBuilder : ControlBuilder
Constructors
SliderTicksDataBuilder()
Declaration
public SliderTicksDataBuilder()
SliderTicksDataBuilder(SliderTicksData)
Declaration
public SliderTicksDataBuilder(SliderTicksData model)
Parameters
Type | Name | Description |
---|---|---|
SliderTicksData | model |
Methods
Format(String)
It is used to customize the Slider scale value to the desired format using Internationalization or events(custom formatting). {% codeBlock src='slider/format/index.md' %}{% endcodeBlock %}
Declaration
public SliderTicksDataBuilder Format(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |
Returns
LargeStep(Double)
It is used to denote the distance between two major (large) ticks from the scale of the Slider. {% codeBlock src='slider/largestep/index.md' %}{% endcodeBlock %}
Declaration
public SliderTicksDataBuilder LargeStep(double value)
Parameters
Type | Name | Description |
---|---|---|
System.Double | value |
Returns
Placement(Placement)
It is used to denote the position of the ticks in the Slider. The available options are:
Declaration
public SliderTicksDataBuilder Placement(Placement value)
Parameters
Type | Name | Description |
---|---|---|
Placement | value |
Returns
ShowSmallTicks(Boolean)
We can show or hide the small ticks in the Slider, which will be appeared in between the largeTicks.
Declaration
public SliderTicksDataBuilder ShowSmallTicks(bool value)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | value |
Returns
SmallStep(Double)
It is used to denote the distance between two minor (small) ticks from the scale of the Slider. {% codeBlock src='slider/smallstep/index.md' %}{% endcodeBlock %}
Declaration
public SliderTicksDataBuilder SmallStep(double value)
Parameters
Type | Name | Description |
---|---|---|
System.Double | value |