Class SliderTicks
This class is used to render ticks to slider component.
Inheritance
System.Object
SliderTicks
Namespace: Syncfusion.Blazor.Inputs
Assembly: Syncfusion.Blazor.dll
Syntax
public class SliderTicks : OwningComponentBase
Constructors
SliderTicks()
Declaration
public SliderTicks()
Properties
Format
It is used to customize the Slider scale value to the desired format using Internationalization or events(custom formatting).
Declaration
public string Format { get; set; }
Property Value
Type |
---|
System.String |
LargeStep
It is used to denote the distance between two major (large) ticks from the scale of the Slider.
Declaration
public double LargeStep { get; set; }
Property Value
Type |
---|
System.Double |
Placement
It is used to denote the position of the ticks in the Slider. The available options are:.
Declaration
public Placement Placement { get; set; }
Property Value
Type |
---|
Placement |
ShowSmallTicks
We can show or hide the small ticks in the Slider, which will be appeared in between the largeTicks.
Declaration
public bool ShowSmallTicks { get; set; }
Property Value
Type |
---|
System.Boolean |
SmallStep
It is used to denote the distance between two minor (small) ticks from the scale of the Slider.
Declaration
public double SmallStep { get; set; }
Property Value
Type |
---|
System.Double |
Methods
OnInitializedAsync()
Method invoked when the component is ready to start.
Declaration
protected override Task OnInitializedAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | "Task". |