Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Support for Two Way DataBinding?

$
0
0

Anyone know if there is there support for Two Way DataBinding? For example, can I bind the "value" of the Stepper control to a Property so that when I move it up/down it changes the value?

Example:

<Stepper Grid.Row="0" Grid.Column="0" Minimum="50" Maximum="100" Increment="1" Value="{Binding MyValue}" Grid.ColumnSpan="2" />    
<Label Grid.Row="0" Grid.Column="2" Text="{Binding MyValue, Converter={StaticResource stringConverter}}" Font="Large" />

Ideally when I change the Stepper the Label will automatically display the value as it changes.

Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>