Adjust VisualState application order

This commit is contained in:
Jérôme Laban 2018-11-09 11:09:41 -05:00
Родитель 583ce66c42
Коммит b7eacf59af
1 изменённых файлов: 7 добавлений и 5 удалений

Просмотреть файл

@ -28,11 +28,6 @@
<Grid x:Name="rootGrid">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup>
<VisualState x:Name="IntermediateLayout">
<VisualState.StateTriggers>
<AdaptiveTrigger MinWindowWidth="740" />
</VisualState.StateTriggers>
</VisualState>
<VisualState x:Name="PhoneLayout">
<VisualState.StateTriggers>
<AdaptiveTrigger MinWindowWidth="0" />
@ -44,6 +39,13 @@
<Setter Target="OptionsPresenter.(Grid.Column)" Value="0" />
<Setter Target="OptionsPresenter.(Grid.ColumnSpan)" Value="2" />
</VisualState.Setters>
</VisualState>
<!-- Uno TODO VisualState application order is different -->
<VisualState x:Name="IntermediateLayout">
<VisualState.StateTriggers>
<AdaptiveTrigger MinWindowWidth="740" />
</VisualState.StateTriggers>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>