Interface IOrientationElement
Orientation elements
Namespace: Syncfusion.Maui.Sliders
Assembly: Syncfusion.Maui.Sliders.dll
Syntax
public interface IOrientationElement
Properties
Orientation
Gets or sets orientation of the sliders.
If you set Horizontal, the slider will be render from left to right. If you set the Vertical, the slider will be render from bottom to top.
Declaration
SliderOrientation Orientation { get; set; }
Property Value
Type | Description |
---|---|
SliderOrientation | Defaults to |
Examples
Snippet for SfSlider
Snippet for SfDateTimeSlider
Snippet for SfRangeSlider
Snippet for SfDateTimeRangeSlider
Methods
OnOrientationChanged(SliderOrientation)
Call when orientation changed.
Declaration
void OnOrientationChanged(SliderOrientation newValue)
Parameters
Type | Name | Description |
---|---|---|
SliderOrientation | newValue |