.NET MAUI Toolbar Slider
You can add a slider in the Toolbar control using the SliderToolbarItem
.
The available properties for configuration are:
-
Value
(double
)—Specifies the value of the slider. -
Minimum
(double
)—Specifies the minimum value of the slider. -
Maximum
(double
)—Specifies the maximum value of the slider.
<telerik:SliderToolbarItem Minimum="0"
Maximum="100"
Value="50" />
Events
-
ValueChanged
—Raised when theSliderToolbarItem.Value
property has changed.
Styling
SliderToolbarItem
has the following styling properties:
-
SliderStyle
(Style
with target typeMicrosoft.Maui.controls.Slider
)—Specifies the style of the slider. -
Style
(Style
with target typeTelerik.Maui.Controls.SliderToolbarItemView
). The available properties are:-
Value
(double
)—Specifies the value of the slider. -
Minimum
(double
)—Specifies the minimum value of the slider. -
Maximum
(double
)—Specifies the maximum value of the slider. -
SliderStyle
(Style
with target typeMicrosoft.Maui.controls.Slider
)—Specifies the style of the slider.
-
All other properties that can be applied through style are the properties applicable for ToolbarItemView.