1
0
Fork 0
mirror of https://github.com/Nioux/AideDeJeu.git synced 2025-10-30 15:06:06 +00:00

Correctif binding

This commit is contained in:
Yan Maniez 2019-05-08 18:07:08 +02:00
parent 4c63fce22f
commit dfcdda9901

View file

@ -7,7 +7,7 @@
<ContentPage.Content>
<StackLayout>
<StackLayout Orientation="Horizontal">
<Picker SelectedItem="{Binding BindingContext.Quantity, Mode=TwoWay}">
<Picker SelectedItem="{Binding Quantity, Mode=TwoWay}">
<Picker.ItemsSource>
<x:Array Type="{x:Type x:Int32}">
<x:Int32>6</x:Int32>
@ -19,7 +19,7 @@
</x:Array>
</Picker.ItemsSource>
</Picker>
<Picker ItemDisplayBinding="{Binding StringFormat='d{0}'}" SelectedItem="{Binding BindingContext.Type, Mode=TwoWay}">
<Picker ItemDisplayBinding="{Binding StringFormat='d{0}'}" SelectedItem="{Binding Type, Mode=TwoWay}">
<Picker.ItemsSource>
<x:Array Type="{x:Type x:Int32}">
<x:Int32>20</x:Int32>
@ -31,7 +31,7 @@
</x:Array>
</Picker.ItemsSource>
</Picker>
<Picker ItemDisplayBinding="{Binding StringFormat='{}{0:+0;-#}'}" SelectedItem="{Binding BindingContext.Mod, Mode=TwoWay}">
<Picker ItemDisplayBinding="{Binding StringFormat='{}{0:+0;-#}'}" SelectedItem="{Binding Mod, Mode=TwoWay}">
<Picker.ItemsSource>
<x:Array Type="{x:Type x:Int32}">
<x:Int32>10</x:Int32>