Skip to content

Commit

Permalink
Fixed AoT data binding in IncrementalLoadingCollectionSample.xaml. Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Arlodotexe authored and michael-hawker committed Oct 10, 2024
1 parent 5fd59df commit 665ba24
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE file in the project root for more information. -->
<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE file in the project root for more information. -->
<Page x:Class="CollectionsExperiment.Samples.IncrementalLoadingCollectionSample"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="using:IncrementalLoadingCollectionExperiment.Samples"
xmlns:local="using:CollectionsExperiment.Samples"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d">

Expand Down Expand Up @@ -45,7 +45,7 @@
CornerRadius="4">
<ListView x:Name="PeopleListView">
<ListView.ItemTemplate>
<DataTemplate>
<DataTemplate x:DataType="local:Person">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
Expand All @@ -58,7 +58,7 @@
<TextBlock Grid.Column="1"
Margin="12"
VerticalAlignment="Center"
Text="{Binding Name}" />
Text="{x:Bind Name}" />
</Grid>
</DataTemplate>
</ListView.ItemTemplate>
Expand Down

0 comments on commit 665ba24

Please sign in to comment.