File tree 2 files changed +27
-20
lines changed
2 files changed +27
-20
lines changed Original file line number Diff line number Diff line change 68
68
<PackageReference Include =" CommunityToolkit.Mvvm" Version =" 8.2.2" />
69
69
<PackageReference Include =" DevExpress.Maui.Controls" Version =" 23.2.6" />
70
70
<PackageReference Include =" DevExpress.Maui.Editors" Version =" 23.2.6" />
71
- <PackageReference Include =" FmgLib.MauiMarkup" Version =" 8.7 .0" />
71
+ <PackageReference Include =" FmgLib.MauiMarkup" Version =" 8.8 .0" />
72
72
<PackageReference Include =" LiveChartsCore.SkiaSharpView.Maui" Version =" 2.0.0-rc2" />
73
73
<PackageReference Include =" Microsoft.EntityFrameworkCore.Sqlite" Version =" 8.0.7" />
74
74
<PackageReference Include =" Microsoft.Maui.Controls" Version =" 8.0.71" />
Original file line number Diff line number Diff line change @@ -70,34 +70,41 @@ public override void Build()
70
70
. ItemTemplate ( ( ) =>
71
71
new SwipeContainer ( )
72
72
. StartSwipeItems (
73
- new SwipeItem ( )
73
+ new SwipeItemCollection
74
74
{
75
- BackgroundColor = Orange
75
+ new SwipeItem ( )
76
+ {
77
+ BackgroundColor = Orange
78
+ }
79
+ . Caption ( "Düzenle" )
80
+ . FontAttributes ( Bold )
81
+ . OnTap ( async ( sender , e ) =>
82
+ {
83
+ AddOrEditPageViewModel . Id = ( ( OperationItemsVM ) e . Item ) . Id ;
84
+ await AppShell . Current . GoToAsync ( $ "//{ nameof ( AddOrEditPage ) } ") ;
85
+ } )
76
86
}
77
- . Caption ( "Düzenle" )
78
- . FontAttributes ( Bold )
79
- . OnTap ( async ( sender , e ) =>
80
- {
81
- AddOrEditPageViewModel . Id = ( ( OperationItemsVM ) e . Item ) . Id ;
82
- await AppShell . Current . GoToAsync ( $ "//{ nameof ( AddOrEditPage ) } ") ;
83
- } )
87
+
84
88
)
85
89
. EndSwipeItems (
86
- new SwipeItem ( )
90
+ new SwipeItemCollection
87
91
{
88
- BackgroundColor = Red
92
+ new SwipeItem ( )
93
+ {
94
+ BackgroundColor = Red
95
+ }
96
+ . Caption ( "Sil" )
97
+ . FontAttributes ( Bold )
98
+ . OnTap ( ( sender , e ) =>
99
+ {
100
+ BindingContext . DeleteId = ( ( OperationItemsVM ) e . Item ) . Id ;
101
+ BindingContext . IsDeletePopupShow = true ;
102
+ } )
89
103
}
90
- . Caption ( "Sil" )
91
- . FontAttributes ( Bold )
92
- . OnTap ( ( sender , e ) =>
93
- {
94
- BindingContext . DeleteId = ( ( OperationItemsVM ) e . Item ) . Id ;
95
- BindingContext . IsDeletePopupShow = true ;
96
- } )
97
104
)
98
105
. ItemView (
99
106
new DXStackLayout ( )
100
- . Children_ContentProp (
107
+ . Children (
101
108
new Grid ( )
102
109
. RowDefinitions ( e => e . Star ( ) . Star ( ) )
103
110
. ColumnDefinitions ( e => e . Star ( 1 ) . Star ( 6 ) . Star ( 3 ) )
You can’t perform that action at this time.
0 commit comments