New to Telerik UI for .NET MAUI? Start a free 30-day trial

.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 the SliderToolbarItem.Value property has changed.

Styling

SliderToolbarItem has the following styling properties:

  • SliderStyle(Style with target type Microsoft.Maui.controls.Slider)—Specifies the style of the slider.
  • Style(Style with target type Telerik.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 type Microsoft.Maui.controls.Slider)—Specifies the style of the slider.

All other properties that can be applied through style are the properties applicable for ToolbarItemView.

See Also

In this article