Home » FAQ » .NET MAUI » How do I bind the Slider value to a property in my ViewModel?
You can use data binding to bind the Slider’s Value property to a property in your ViewModel. Here’s an example:XAML:
<Slider Value="{Binding Value}" Maximum="100" Minimum="0" />
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