Version 1.0.3
Some checks failed
Gitea/WheresMyMoney/pipeline/head There was a failure building this commit
Some checks failed
Gitea/WheresMyMoney/pipeline/head There was a failure building this commit
- Modify planned payment - minor bug fixes
This commit is contained in:
28
WheresMyMoney.Maui/MobilePlannedPaymentsPage.xaml
Normal file
28
WheresMyMoney.Maui/MobilePlannedPaymentsPage.xaml
Normal file
@@ -0,0 +1,28 @@
|
||||
<?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>
|
||||
Reference in New Issue
Block a user