fixed a bunch of isses with keyed handlers

This commit is contained in:
TheXamlGuy
2024-06-22 13:03:14 +01:00
parent 24b022b6a6
commit 5a56df2cad
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -19,7 +19,7 @@
<Parameter Key="Favourite" Value="{Binding Favourite}" /> <Parameter Key="Favourite" Value="{Binding Favourite}" />
<Parameter Key="Archived" Value="{Binding Archived}" /> <Parameter Key="Archived" Value="{Binding Archived}" />
<Parameter Key="State" Value="{x:Static vm:ItemState.Read}" /> <Parameter Key="State" Value="{x:Static vm:ItemState.Read}" />
<Parameter Key="IsBackStackEnabled" Value="{x:True}" /> <Parameter Key="IsBackStackEnabled" Value="{x:False}" />
<Parameter Key="ClearBackStack" Value="{x:True}" /> <Parameter Key="ClearBackStack" Value="{x:True}" />
</NavigateAction> </NavigateAction>
</AttachedEventTriggerBehaviour> </AttachedEventTriggerBehaviour>
+2 -2
View File
@@ -60,13 +60,13 @@
</Interaction.Behaviors> </Interaction.Behaviors>
</ContentControl> </ContentControl>
</Border> </Border>
<ContentControl Grid.Row="1"> <Frame 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>
</ContentControl> </Frame>
</Grid> </Grid>
</Border> </Border>
</Grid> </Grid>