Révision 12ddf7ef GES_PAC/View/CreateCalibrationView.xaml

Voir les différences:

GES_PAC/View/CreateCalibrationView.xaml
3 3
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
4 4
             xmlns:vm="clr-namespace:GES_PAC.ViewModel"
5 5
             xmlns:tools="clr-namespace:GES_PAC.View.Tools"
6
			 xmlns:controls="clr-namespace:GES_PAC.Controls"
6 7
             x:Class="GES_PAC.View.CreateCalibrationView"
7 8
             x:DataType="vm:CreateCalibrationViewModel">
8 9

  
......
39 40
                        <!-- CH4 -->
40 41
                        <VerticalStackLayout>
41 42
                            <Label Text="CH4 (ppm)" FontSize="14" TextColor="Gray" FontAttributes="Bold"/>
42
                            <Entry Text="{Binding ConcCH4, Mode=TwoWay, TargetNullValue=''}" 
43
                                   FontSize="16" 
44
                                   TextColor="Black" 
45
                                   Placeholder="0,0" 
46
                                   Keyboard="Numeric"/>
43
							<controls:DoubleEntry Text="{Binding ConcCH4, Mode=OneWayToSource, TargetNullValue=''}" />
47 44
                            <Label Text="Entrez une valeur"
48 45
                                FontSize="12"
49 46
                                TextColor="Red"
......
53 50
                        <!-- O2 -->
54 51
                        <VerticalStackLayout>
55 52
                            <Label Text="O2 (% vol.)" FontSize="14" TextColor="Gray" FontAttributes="Bold"/>
56
                            <Entry Text="{Binding ConcO2 , Mode=TwoWay, TargetNullValue=''}" 
57
                                   FontSize="16" 
58
                                   TextColor="Black" 
59
                                   Placeholder="0,0" 
60
                                   Keyboard="Numeric"/>
53
							<controls:DoubleEntry Text="{Binding ConcO2, Mode=OneWayToSource, TargetNullValue=''}" />
61 54
                            <Label Text="Entrez une valeur"
62 55
                                FontSize="12"
63 56
                                TextColor="Red"
......
67 60
                        <!-- CO2 -->
68 61
                        <VerticalStackLayout>
69 62
                            <Label Text="CO2 (% vol.)" FontSize="14" TextColor="Gray" FontAttributes="Bold"/>
70
                            <Entry Text="{Binding ConcCO2, Mode=TwoWay, TargetNullValue=''}" 
71
                                   FontSize="16" 
72
                                   TextColor="Black" 
73
                                   Placeholder="0,0" 
74
                                   Keyboard="Numeric"/>
63
							<controls:DoubleEntry Text="{Binding ConcCO2, Mode=OneWayToSource, TargetNullValue=''}" />
75 64
                            <Label Text="Entrez une valeur"
76 65
                                FontSize="12"
77 66
                                TextColor="Red"

Formats disponibles : Unified diff