Skip to content

Commit feed574

Browse files
committed
Update ProjectListPage.xaml
1 parent 4bcc23b commit feed574

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

10.0/Apps/DeveloperBalance/Pages/ProjectListPage.xaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,15 @@
77
xmlns:toolkit="http://schemas.microsoft.com/dotnet/2022/maui/toolkit"
88
x:Class="DeveloperBalance.Pages.ProjectListPage"
99
x:DataType="pageModels:ProjectListPageModel"
10+
x:Name="ProjectList"
1011
Title="Projects">
1112

1213

1314
<ContentPage.Behaviors>
1415
<toolkit:EventToCommandBehavior
15-
EventName="Appearing"
16-
Command="{Binding AppearingCommand}" />
16+
EventName="Appearing"
17+
BindingContext="{Binding Path=BindingContext, Source={x:Reference ProjectList}, x:DataType=ContentPage}"
18+
Command="{Binding AppearingCommand}"/>
1719
</ContentPage.Behaviors>
1820
<Grid>
1921
<ScrollView>

0 commit comments

Comments
 (0)