Enum Placement
Defines the placement options for tick marks on the Slider component.
Namespace: Syncfusion.Blazor.Inputs
Assembly: Syncfusion.Blazor.dll
Syntax
[JsonConverter(typeof(JsonStringEnumConverter))]
public enum Placement
Remarks
The Placement enum controls where tick marks are positioned relative to the slider track. Tick marks help users identify precise values and provide visual reference points along the slider range. The placement depends on the slider's orientation (horizontal or vertical).
Examples
<SfSlider TValue="int" Value="50">
<SliderTicks Placement="Placement.Both" LargeStep="20" SmallStep="5" ShowSmallTicks="true">
</SliderTicks>
</SfSlider>
Fields
| Name | Description |
|---|---|
| After | Renders tick marks after the slider track. |
| Before | Renders tick marks before the slider track. |
| Both | Renders tick marks on both sides of the slider track. |
| None | Disables the rendering of tick marks. |