Class SliderTicksDataBuilder
Inheritance
System.Object
SliderTicksDataBuilder
Assembly: Syncfusion.EJ2.dll
public class SliderTicksDataBuilder : ControlBuilder
Constructors
Declaration
public SliderTicksDataBuilder()
Declaration
public SliderTicksDataBuilder(SliderTicksData model)
Parameters
Methods
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
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
It is used to denote the position of the ticks in the Slider. The available options are:
Declaration
public SliderTicksDataBuilder Placement(Placement value)
Parameters
Returns
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
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 |
|
Returns