Fix the AOT issue with custom binding of IsSelected property through CVS in Mail List.
This commit is contained in:
@@ -49,7 +49,7 @@
|
||||
HorizontalAlignment="Center"
|
||||
Background="{ThemeResource ListViewItemSelectionIndicatorBrush}"
|
||||
CornerRadius="4"
|
||||
Visibility="{Binding RelativeSource={RelativeSource Mode=TemplatedParent}, Path=Item.IsSelected, Mode=OneWay}" />
|
||||
Visibility="{Binding RelativeSource={RelativeSource Mode=TemplatedParent}, Path=IsCustomSelected, Mode=OneWay}" />
|
||||
|
||||
<!-- Expandable Content -->
|
||||
<ContentPresenter
|
||||
@@ -138,7 +138,7 @@
|
||||
x:Name="SelectionBackground"
|
||||
Grid.ColumnSpan="2"
|
||||
Background="{ThemeResource ListViewItemBackgroundSelected}"
|
||||
Visibility="{Binding RelativeSource={RelativeSource Mode=TemplatedParent}, Path=Item.IsSelected, Mode=OneWay}" />
|
||||
Visibility="{Binding RelativeSource={RelativeSource Mode=TemplatedParent}, Path=IsCustomSelected, Mode=OneWay}" />
|
||||
<Border
|
||||
x:Name="SelectionIndicator"
|
||||
Width="4"
|
||||
@@ -146,7 +146,7 @@
|
||||
HorizontalAlignment="Center"
|
||||
Background="{ThemeResource ListViewItemSelectionIndicatorBrush}"
|
||||
CornerRadius="4"
|
||||
Visibility="{Binding RelativeSource={RelativeSource Mode=TemplatedParent}, Path=Item.IsSelected, Mode=OneWay}" />
|
||||
Visibility="{Binding RelativeSource={RelativeSource Mode=TemplatedParent}, Path=IsCustomSelected, Mode=OneWay}" />
|
||||
|
||||
<ContentPresenter
|
||||
x:Name="MailContent"
|
||||
|
||||
Reference in New Issue
Block a user