|
|
|
@ -25,13 +25,15 @@
|
|
|
|
|
<Grid>
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="40"/>
|
|
|
|
|
<RowDefinition Height="10"/>
|
|
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
|
<RowDefinition Height="10"/>
|
|
|
|
|
<RowDefinition Height="auto"/>
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="5*"/>
|
|
|
|
|
<ColumnDefinition Width="5*"/>
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<Grid BackgroundColor="{AppThemeBinding Light={StaticResource HeaderGray}, Dark={StaticResource Gray900}}"
|
|
|
|
|
Grid.Row="0">
|
|
|
|
|
Grid.Row="0"
|
|
|
|
|
Grid.ColumnSpan="2">
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="10"/>
|
|
|
|
|
<ColumnDefinition Width="auto"/>
|
|
|
|
@ -44,9 +46,10 @@
|
|
|
|
|
Grid.Column="1"/>
|
|
|
|
|
</Grid>
|
|
|
|
|
<Grid HorizontalOptions="Center"
|
|
|
|
|
Grid.Row="2">
|
|
|
|
|
Grid.Row="1"
|
|
|
|
|
Grid.Column="0">
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
|
<RowDefinition Height="auto"/>
|
|
|
|
|
<RowDefinition Height="5"/>
|
|
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
@ -62,8 +65,14 @@
|
|
|
|
|
Text="{Binding ContactsVM.Manager.GivenLastName}"/>
|
|
|
|
|
<Button Text="Enregistrer"
|
|
|
|
|
BackgroundColor="Transparent"
|
|
|
|
|
BorderColor="Black"
|
|
|
|
|
Command="{Binding ContactsVM.Manager.AddContactCommand}"/>
|
|
|
|
|
Command="{Binding ContactsVM.Manager.AddContactCommand}">
|
|
|
|
|
<Button.BorderColor>
|
|
|
|
|
<AppThemeBinding Light="{StaticResource Black}" Dark="{StaticResource White}" />
|
|
|
|
|
</Button.BorderColor>
|
|
|
|
|
<Button.TextColor>
|
|
|
|
|
<AppThemeBinding Light="{StaticResource Black}" Dark="{StaticResource White}" />
|
|
|
|
|
</Button.TextColor>
|
|
|
|
|
</Button>
|
|
|
|
|
</VerticalStackLayout>
|
|
|
|
|
<Grid.GestureRecognizers>
|
|
|
|
|
<TapGestureRecognizer Command="{Binding ContactsVM.AddContactDataFormCommand}"/>
|
|
|
|
@ -74,7 +83,8 @@
|
|
|
|
|
SelectionChangedCommand="{Binding ContactsVM.BookLendedCommand}"
|
|
|
|
|
SelectionChangedCommandParameter="{Binding ContactsVM.Manager.SelectedContact}"
|
|
|
|
|
SelectionMode="Single"
|
|
|
|
|
Grid.Row="4">
|
|
|
|
|
Grid.Row="1"
|
|
|
|
|
Grid.Column="1">
|
|
|
|
|
<CollectionView.ItemTemplate>
|
|
|
|
|
<DataTemplate x:DataType="viewModel:ContactVM">
|
|
|
|
|
<VerticalStackLayout>
|
|
|
|
|