sicpaconnexions / SICPA_Connexions / View / AnimalView.xaml @ 87e7d061
Historique | Voir | Annoter | Télécharger (3,988 ko)
1 |
<?xml version="1.0" encoding="utf-8" ?>
|
---|---|
2 |
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui" |
3 |
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" |
4 |
x:Class="SICPA_Connexions.View.AnimalView" |
5 |
Title="Formulaire Vivant"> |
6 |
<Grid>
|
7 |
<StackLayout BackgroundColor="{StaticResource InraePrimary}" Spacing="0"> |
8 |
<ScrollView>
|
9 |
<StackLayout Spacing="0"> |
10 |
<StackLayout
|
11 |
Margin="10" |
12 |
HorizontalOptions="FillAndExpand" |
13 |
VerticalOptions="FillAndExpand"> |
14 |
<Frame HorizontalOptions="FillAndExpand" |
15 |
VerticalOptions="FillAndExpand" CornerRadius="5"> |
16 |
|
17 |
<StackLayout>
|
18 |
<Frame BorderColor="{StaticResource InraePrimary}" Margin="0,0,0,20"> |
19 |
<Label
|
20 |
Text="Formulaire Vivant" |
21 |
VerticalOptions="Center" |
22 |
HorizontalOptions="Center" |
23 |
Style="{StaticResource textTitre}" |
24 |
/>
|
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"> |
31 |
<Label Grid.Column="0" |
32 |
Grid.Row="0" |
33 |
Text="Id : " |
34 |
Style="{StaticResource textLabel}" /> |
35 |
<Label
|
36 |
Grid.Column="1" |
37 |
Grid.Row="0" |
38 |
Text="{Binding VivantId}" |
39 |
VerticalOptions="Center" |
40 |
HorizontalOptions="Center" |
41 |
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 |
</Grid>
|
53 |
</StackLayout>
|
54 |
</Frame>
|
55 |
</StackLayout>
|
56 |
</StackLayout>
|
57 |
</ScrollView>
|
58 |
<StackLayout
|
59 |
Margin="10" |
60 |
HorizontalOptions="CenterAndExpand" |
61 |
Orientation="Horizontal" |
62 |
VerticalOptions="FillAndExpand"> |
63 |
|
64 |
<Button
|
65 |
Text="Edition" |
66 |
Command="{Binding EditionCommand}" |
67 |
Style="{StaticResource btnNormal}" |
68 |
VerticalOptions="End"/> |
69 |
</StackLayout>
|
70 |
</StackLayout>
|
71 |
<Grid Grid.RowSpan="1" IsVisible="{Binding IsBusy}"> |
72 |
<BoxView BackgroundColor="#FFFFFF" Opacity="0.3" /> |
73 |
<ActivityIndicator
|
74 |
HorizontalOptions="Center" |
75 |
IsRunning="True" |
76 |
VerticalOptions="Center" /> |
77 |
</Grid>
|
78 |
</Grid>
|
79 |
</ContentPage>
|