|
|
@ -5,8 +5,7 @@
|
|
|
|
xmlns:model="clr-namespace:Banquale.Model"
|
|
|
|
xmlns:model="clr-namespace:Banquale.Model"
|
|
|
|
x:Class="Banquale.Views.BalancePage"
|
|
|
|
x:Class="Banquale.Views.BalancePage"
|
|
|
|
Title="BalancePage"
|
|
|
|
Title="BalancePage"
|
|
|
|
Shell.NavBarIsVisible="False"
|
|
|
|
Shell.NavBarIsVisible="False">
|
|
|
|
>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Grid RowDefinitions="auto, *">
|
|
|
|
<Grid RowDefinitions="auto, *">
|
|
|
|
<Grid BackgroundColor="Beige"
|
|
|
|
<Grid BackgroundColor="Beige"
|
|
|
@ -17,41 +16,49 @@
|
|
|
|
RowDefinitions="auto, 35, *"
|
|
|
|
RowDefinitions="auto, 35, *"
|
|
|
|
ColumnDefinitions="250, auto"
|
|
|
|
ColumnDefinitions="250, auto"
|
|
|
|
Grid.Row="0"
|
|
|
|
Grid.Row="0"
|
|
|
|
Margin="30"
|
|
|
|
Margin="30">
|
|
|
|
>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Button Clicked="OnButtonClicked" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Label
|
|
|
|
<Label
|
|
|
|
Text="Compte Professionnel"
|
|
|
|
Text="Compte Professionnel"
|
|
|
|
HorizontalOptions="Center"
|
|
|
|
HorizontalOptions="Center"
|
|
|
|
BackgroundColor="AliceBlue"
|
|
|
|
|
|
|
|
Margin="0, 15, 0, 0"/>
|
|
|
|
Margin="0, 15, 0, 0"/>
|
|
|
|
<Label
|
|
|
|
|
|
|
|
Text="{Binding AccountList[0].Name}"
|
|
|
|
<HorizontalStackLayout
|
|
|
|
Grid.Row="1"
|
|
|
|
Grid.Row="1"
|
|
|
|
Grid.ColumnSpan="2"
|
|
|
|
HorizontalOptions="Center">
|
|
|
|
HorizontalOptions="Center"
|
|
|
|
|
|
|
|
TextColor="Black"
|
|
|
|
<Label
|
|
|
|
BackgroundColor="SaddleBrown"/> <!-- colspan permet de redefinir la taille de la colonne -->
|
|
|
|
Text="{Binding CustomersList[0].Name}"
|
|
|
|
|
|
|
|
Margin="0, 0, 5, 0"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Label
|
|
|
|
|
|
|
|
Text="{Binding CustomersList[0].FirstName}"
|
|
|
|
|
|
|
|
Margin="5, 0, 0, 0"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</HorizontalStackLayout>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Grid ColumnDefinitions="auto, auto, auto"
|
|
|
|
|
|
|
|
Grid.Row="2"
|
|
|
|
|
|
|
|
HorizontalOptions="Center">
|
|
|
|
|
|
|
|
|
|
|
|
<Grid ColumnDefinitions="*, *" Grid.Row="2" >
|
|
|
|
|
|
|
|
<Label
|
|
|
|
<Label
|
|
|
|
Text="Solde"
|
|
|
|
Text="Solde"
|
|
|
|
WidthRequest="75"
|
|
|
|
WidthRequest="75"
|
|
|
|
TextColor="Black"
|
|
|
|
TextColor="Black"
|
|
|
|
HorizontalOptions="Center"/>
|
|
|
|
HorizontalOptions="Center"/>
|
|
|
|
<Label
|
|
|
|
<Label
|
|
|
|
Text="{Binding CustomersList[0].AccountList[0].Balance}"
|
|
|
|
Text="{Binding CustomersList[0].AccountsList[0].Balance} "
|
|
|
|
Grid.Column="1"
|
|
|
|
Grid.Column="1"
|
|
|
|
MinimumWidthRequest="70"
|
|
|
|
Margin="0, 0, 5, 0"/>
|
|
|
|
TextColor="Black"
|
|
|
|
|
|
|
|
HorizontalOptions="Center"/>
|
|
|
|
<Label Text="€"
|
|
|
|
|
|
|
|
Grid.Column="2"/>
|
|
|
|
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
|
|
|
|
<ScrollView
|
|
|
|
<ScrollView
|
|
|
|
Grid.Row="1">
|
|
|
|
Grid.Row="1">
|
|
|
|
<FlexLayout JustifyContent="Center"
|
|
|
|
<FlexLayout JustifyContent="Center"
|
|
|
@ -60,6 +67,10 @@
|
|
|
|
Direction="Row"
|
|
|
|
Direction="Row"
|
|
|
|
Wrap="Wrap">
|
|
|
|
Wrap="Wrap">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<Button Text="NewPage1"
|
|
|
|
|
|
|
|
Clicked="OnButtonClicked"
|
|
|
|
|
|
|
|
MinimumWidthRequest="250"/>
|
|
|
|
|
|
|
|
|
|
|
|
<local:BalanceView/>
|
|
|
|
<local:BalanceView/>
|
|
|
|
<local:BalanceView/>
|
|
|
|
<local:BalanceView/>
|
|
|
|
<local:BalanceView/>
|
|
|
|
<local:BalanceView/>
|
|
|
|