Révision 03682d21 SICPA_Connexions/View/AnimalView.xaml
SICPA_Connexions/View/AnimalView.xaml | ||
---|---|---|
2 | 2 |
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui" |
3 | 3 |
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" |
4 | 4 |
x:Class="SICPA_Connexions.View.AnimalView" |
5 |
Title="Formulaire Vivant">
|
|
5 |
Title="Animal">
|
|
6 | 6 |
<Grid> |
7 | 7 |
<StackLayout BackgroundColor="{StaticResource InraePrimary}" Spacing="0"> |
8 | 8 |
<ScrollView> |
... | ... | |
17 | 17 |
<StackLayout> |
18 | 18 |
<Frame BorderColor="{StaticResource InraePrimary}" Margin="0,0,0,20"> |
19 | 19 |
<Label |
20 |
Text="Formulaire Vivant"
|
|
20 |
Text="Animal"
|
|
21 | 21 |
VerticalOptions="Center" |
22 | 22 |
HorizontalOptions="Center" |
23 | 23 |
Style="{StaticResource textTitre}" |
24 | 24 |
/> |
25 | 25 |
</Frame> |
26 |
<Picker Title="Liste des vivants" |
|
27 |
ItemsSource="{Binding Vivants}" |
|
28 |
SelectedItem="{Binding VivantSelectionne}" |
|
29 |
ItemDisplayBinding="{Binding VivantNom}"/> |
|
30 |
<Grid ColumnDefinitions="20*,80*" RowDefinitions="auto,auto"> |
|
26 |
<Grid ColumnDefinitions="15*,85*" > |
|
31 | 27 |
<Label Grid.Column="0" |
32 |
Grid.Row="0" |
|
33 |
Text="Id : " |
|
28 |
Text="Rfid" |
|
34 | 29 |
Style="{StaticResource textLabel}" /> |
35 | 30 |
<Label |
36 | 31 |
Grid.Column="1" |
37 |
Grid.Row="0" |
|
38 |
Text="{Binding VivantId}" |
|
32 |
Text="{Binding NumRfid}" |
|
39 | 33 |
VerticalOptions="Center" |
40 | 34 |
HorizontalOptions="Center" |
41 | 35 |
Style="{StaticResource textLabel}"/> |
42 |
<Label Grid.Column="0" |
|
43 |
Grid.Row="1" |
|
44 |
Text="Nom : " |
|
45 |
Style="{StaticResource textLabel}"/> |
|
46 |
<Label |
|
47 |
Grid.Column="1" |
|
48 |
Grid.Row="1" |
|
49 |
Text="{Binding VivantNom}" |
|
50 |
VerticalOptions="Center" |
|
51 |
HorizontalOptions="Center"/> |
|
52 | 36 |
</Grid> |
53 | 37 |
</StackLayout> |
54 | 38 |
</Frame> |
... | ... | |
62 | 46 |
VerticalOptions="FillAndExpand"> |
63 | 47 |
|
64 | 48 |
<Button |
65 |
Text="Edition"
|
|
66 |
Command="{Binding EditionCommand}"
|
|
49 |
Text="Scan BLE RFID"
|
|
50 |
Command="{Binding LectureBLECommand}"
|
|
67 | 51 |
Style="{StaticResource btnNormal}" |
68 | 52 |
VerticalOptions="End"/> |
69 | 53 |
</StackLayout> |
Formats disponibles : Unified diff