Class SliderTicksData
Inherited Members
Namespace: Syncfusion.EJ2.Inputs
Assembly: Syncfusion.EJ2.dll
Syntax
public class SliderTicksData : EJTagHelper
Constructors
SliderTicksData()
Declaration
public SliderTicksData()
Properties
ContentTemplate
To get or set value for ContentTemplate.
Declaration
public MvcTemplate<object> ContentTemplate { get; set; }
Property Value
Type | Description |
---|---|
MvcTemplate<System.Object> |
Format
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
[HtmlAttributeName("format")]
public string Format { get; set; }
Property Value
Type | Description |
---|---|
System.String | The default value is null |
LargeStep
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
[HtmlAttributeName("largeStep")]
public double LargeStep { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 10 |
Placement
It is used to denote the position of the ticks in the Slider. The available options are:
Declaration
[HtmlAttributeName("placement")]
public Placement Placement { get; set; }
Property Value
Type | Description |
---|---|
Placement | The default value is Syncfusion.EJ2.Inputs.Placement.None |
ShowSmallTicks
We can show or hide the small ticks in the Slider, which will be appeared in between the largeTicks.
Declaration
[HtmlAttributeName("showSmallTicks")]
public bool ShowSmallTicks { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The default value is false |
SmallStep
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
[HtmlAttributeName("smallStep")]
public double SmallStep { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The default value is 1 |