Skip to content

Commit e285557

Browse files
committed
Fix LoopingSelector AOT issue
Use xBind instead of Binding
1 parent 761eab6 commit e285557

File tree

7 files changed

+2359
-2350
lines changed

7 files changed

+2359
-2350
lines changed

dev/DevWinUI.Controls/Controls/Ported/LoopingSelector/LoopingSelector.xaml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -82,16 +82,6 @@
8282
<Setter Property="ShouldLoop" Value="True" />
8383
<Setter Property="CornerRadius" Value="{ThemeResource ControlCornerRadius}" />
8484
<Setter Property="UseSystemFocusVisuals" Value="{StaticResource UseSystemFocusVisuals}" />
85-
<Setter Property="ItemTemplate">
86-
<Setter.Value>
87-
<DataTemplate>
88-
<StackPanel VerticalAlignment="Center">
89-
<TextBlock FontFamily="{ThemeResource ContentControlThemeFontFamily}"
90-
Text="{Binding PrimaryText}" />
91-
</StackPanel>
92-
</DataTemplate>
93-
</Setter.Value>
94-
</Setter>
9585
<Setter Property="Template">
9686
<Setter.Value>
9787
<ControlTemplate TargetType="Control">

0 commit comments

Comments
 (0)