How do I bind the Slider value to a property in my ViewModel?

Platform: .NET MAUI| Category: Controls

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" />

Share with

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.