Removed ListView animations
This commit is contained in:
parent
aa271423f9
commit
1d4b834204
2 changed files with 9 additions and 0 deletions
|
@ -32,6 +32,14 @@
|
||||||
</ResourceDictionary>
|
</ResourceDictionary>
|
||||||
</ResourceDictionary.ThemeDictionaries>
|
</ResourceDictionary.ThemeDictionaries>
|
||||||
|
|
||||||
|
<Style x:Key="ListViewNoAnimations" TargetType="ListView">
|
||||||
|
<Setter Property="ItemContainerTransitions">
|
||||||
|
<Setter.Value>
|
||||||
|
<TransitionCollection/>
|
||||||
|
</Setter.Value>
|
||||||
|
</Setter>
|
||||||
|
</Style>
|
||||||
|
|
||||||
<Style x:Key="IconOnlyButton" TargetType="Button">
|
<Style x:Key="IconOnlyButton" TargetType="Button">
|
||||||
<Setter Property="Background" Value="{ThemeResource ButtonRevealBackground}" />
|
<Setter Property="Background" Value="{ThemeResource ButtonRevealBackground}" />
|
||||||
<Setter Property="Foreground" Value="{ThemeResource PrimaryTextColor}" />
|
<Setter Property="Foreground" Value="{ThemeResource PrimaryTextColor}" />
|
||||||
|
|
|
@ -27,6 +27,7 @@
|
||||||
ItemsSource="{Binding Results.Results, Mode=OneWay}"
|
ItemsSource="{Binding Results.Results, Mode=OneWay}"
|
||||||
SelectionMode="Single"
|
SelectionMode="Single"
|
||||||
SelectedIndex="{Binding Results.SelectedIndex, Mode=TwoWay}"
|
SelectedIndex="{Binding Results.SelectedIndex, Mode=TwoWay}"
|
||||||
|
Style="{StaticResource ListViewNoAnimations}"
|
||||||
>
|
>
|
||||||
<ListView.ItemTemplate>
|
<ListView.ItemTemplate>
|
||||||
<DataTemplate >
|
<DataTemplate >
|
||||||
|
|
Loading…
Reference in a new issue