Class SliderTicksDataBuilder
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
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
Type | Description |
---|---|
SliderTicksDataBuilder |
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
Type | Description |
---|---|
SliderTicksDataBuilder |
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
Type | Description |
---|---|
SliderTicksDataBuilder |
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
Type | Description |
---|---|
SliderTicksDataBuilder |
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 |
Returns
Type | Description |
---|---|
SliderTicksDataBuilder |