WheresMyMoney/WheresMyMoney.Maui/MobilePlannedPaymentsPage.xaml
Kapitan 2d69a4b018
Some checks failed
Gitea/WheresMyMoney/pipeline/head There was a failure building this commit
Version 1.0.3
- Modify planned payment
- minor bug fixes
2025-01-26 14:53:16 +01:00

28 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"
xmlns:toolkit="http://schemas.microsoft.com/dotnet/2022/maui/toolkit"
x:Class="WheresMyMoney.Maui.MobilePlannedPaymentsPage">
<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:MobilePlannedPaymentsPage">
<CollectionView.ItemTemplate>
<DataTemplate x:DataType="local:FullPlannedPaymentViewModel">
<local:PlannedPaymentContent x:Name="PlannedPaymentContent" Margin="10,15" Padding="10">
<local:PlannedPaymentContent.Behaviors>
<toolkit:TouchBehavior
BindingContext="{Binding Path=BindingContext, Source={x:Reference PlannedPaymentContent}}"
x:DataType="local:FullPlannedPaymentViewModel"
LongPressCommand="{Binding LongPressCommand}" />
</local:PlannedPaymentContent.Behaviors>
</local:PlannedPaymentContent>
</DataTemplate>
</CollectionView.ItemTemplate>
</CollectionView>
</ContentPage>