ConsEco/Sources/IHM/Mobile/Operations.xaml

48 lines
2.4 KiB

<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="IHM.Mobile.Operations">
2 years ago
<ScrollView>
<VerticalStackLayout>
2 years ago
<Label Text="Mes Opérations :" FontAttributes="Bold" Margin="10,10,0,20" FontSize="20"/>
2 years ago
<CollectionView Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="2" ItemsSource="{Binding SelectedCompte.LesOpe}">
2 years ago
<!--User.LesBanques[0].ListeDesComptes[0].LesOpe}-->
<CollectionView.ItemTemplate>
<DataTemplate>
2 years ago
<Grid Margin="0,7,0,7">
<Grid.RowDefinitions>
<RowDefinition/>
<RowDefinition/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<!--<ColumnDefinition/>-->
<ColumnDefinition/>
<ColumnDefinition/>
<ColumnDefinition/>
</Grid.ColumnDefinitions>
<!--<ImageButton Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2"
Source="{Binding ImageSrc}"
CornerRadius="10"/>-->
2 years ago
<Label Grid.Row="0" Grid.Column="0"
2 years ago
Text="{Binding Nom}"
2 years ago
FontAttributes="Bold"
FontSize="Body"
Margin="50,0,0,0"/>
<Label Grid.Row="1" Grid.Column="0"
2 years ago
Text="{Binding Tag}"
FontAttributes="Italic"
Margin="50,0,0,0"/>
<Label Grid.Row="0" Grid.Column="2"
Text="{Binding DateOperation}"/>
2 years ago
<Label Grid.Row="1" Grid.Column="2"
Text="{Binding Montant}"
2 years ago
FontAttributes="Bold"
TextColor="OrangeRed"/>
</Grid>
</DataTemplate>
2 years ago
</CollectionView.ItemTemplate>
</CollectionView>
</VerticalStackLayout>
2 years ago
</ScrollView>
</ContentPage>