Home » FAQ » .NET MAUI » How do I handle the value change event of a Slider in XAML?
You can handle the value change event of a Slider in XAML like this:
XAML
<Slider ValueChanged="Slider_ValueChanged"></Slider>
C#
private void Slider_ValueChanged(object sender, ValueChangedEventArgs e) { double newValue = e.NewValue; }
Platform BlazorASP.NETWinFormsWPF.NET MAUI
Question *
Answer (Optional)
Email (Optional)
Email address is only for further clarification on your FAQ request. It will not be used for any other purpose.
Please leave this field empty.
Share with