now with less flickering

This commit is contained in:
TheXamlGuy
2024-07-12 22:40:52 +01:00
parent 07032b5f02
commit c8cc46225e
3 changed files with 5 additions and 3 deletions
+1
View File
@@ -21,6 +21,7 @@
<Parameter Key="Favourite" Value="{Binding IsFavourite}" /> <Parameter Key="Favourite" Value="{Binding IsFavourite}" />
<Parameter Key="Archived" Value="{Binding IsArchived}" /> <Parameter Key="Archived" Value="{Binding IsArchived}" />
<Parameter Key="State" Value="{x:Static vm:ItemState.Read}" /> <Parameter Key="State" Value="{x:Static vm:ItemState.Read}" />
<Parameter Key="Transition" Value="Suppress" />
<Parameter Key="IsBackStackEnabled" Value="{x:False}" /> <Parameter Key="IsBackStackEnabled" Value="{x:False}" />
<Parameter Key="ClearBackStack" Value="{x:True}" /> <Parameter Key="ClearBackStack" Value="{x:True}" />
</NavigateAction> </NavigateAction>
+2 -1
View File
@@ -5,7 +5,8 @@
xmlns:vm="using:Wallet" xmlns:vm="using:Wallet"
x:DataType="vm:MultilineTextEntryViewModel" x:DataType="vm:MultilineTextEntryViewModel"
Header="{Binding Key}" Header="{Binding Key}"
IsExpanded="True"> IsExpanded="True"
IsToggleable="True">
<TextBox Text="{Binding Value}" TextWrapping="Wrap"> <TextBox Text="{Binding Value}" TextWrapping="Wrap">
<TextBox.Styles> <TextBox.Styles>
<Style Selector="TextBox.Write"> <Style Selector="TextBox.Write">
+2 -2
View File
@@ -65,13 +65,13 @@
</Interaction.Behaviors> </Interaction.Behaviors>
</ContentControl> </ContentControl>
</Border> </Border>
<Frame Grid.Row="1"> <ContentControl Grid.Row="1">
<Interaction.Behaviors> <Interaction.Behaviors>
<AttachedBehaviour> <AttachedBehaviour>
<NavigateRegionAction Name="{Binding Named, StringFormat='{}{0}:Content'}" /> <NavigateRegionAction Name="{Binding Named, StringFormat='{}{0}:Content'}" />
</AttachedBehaviour> </AttachedBehaviour>
</Interaction.Behaviors> </Interaction.Behaviors>
</Frame> </ContentControl>
</Grid> </Grid>
</Border> </Border>
</Grid> </Grid>