Some checks failed
Gitea/WheresMyMoney/pipeline/head There was a failure building this commit
- Modify planned payment - minor bug fixes
31 lines
1.6 KiB
XML
31 lines
1.6 KiB
XML
<?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"
|
|
xmlns:local="using:WheresMyMoney.Maui"
|
|
x:Class="WheresMyMoney.Maui.PlannedPaymentsPage">
|
|
<ContentPage.ToolbarItems>
|
|
<ToolbarItem
|
|
IconImageSource="{FontImageSource Glyph=+, FontFamily=FontAwesome, Size=32, Color={AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource PrimaryDark}} }"
|
|
Order="Primary"
|
|
Clicked="InsertPlannedPayment_OnClicked" />
|
|
</ContentPage.ToolbarItems>
|
|
<CollectionView ItemsSource="{Binding FullPlannedPaymentViewModels}" x:DataType="local:PlannedPaymentsPage">
|
|
<CollectionView.ItemTemplate>
|
|
<DataTemplate x:DataType="local:FullPlannedPaymentViewModel">
|
|
<Border Margin="10,15" Padding="10" StrokeThickness="0" Background="Transparent">
|
|
<FlyoutBase.ContextFlyout>
|
|
<MenuFlyout>
|
|
<MenuFlyoutItem Text="Modyfikuj" Clicked="ModifyPlannedPayment_OnClicked"
|
|
CommandParameter="{Binding Id}" />
|
|
<MenuFlyoutItem Text="Usuń" Clicked="RemovePlannedPayment_OnClicked"
|
|
CommandParameter="{Binding Id}" />
|
|
</MenuFlyout>
|
|
</FlyoutBase.ContextFlyout>
|
|
|
|
<local:PlannedPaymentContent />
|
|
</Border>
|
|
</DataTemplate>
|
|
</CollectionView.ItemTemplate>
|
|
</CollectionView>
|
|
</ContentPage> |