Converters updated as MarkupExtension

This commit is contained in:
2026-09-05 14:23:08 +03:00 Unverified
parent 71b163e268
commit b0d8bcd742
4 changed files with 12 additions and 10 deletions
+1 -4
View File
@@ -20,9 +20,6 @@
</Window.SystemBackdrop>
<Grid x:Name="RootGrid">
<Grid.Resources>
<conv:ItemInvokedEventArgsConverter x:Key="ItemInvokedEventArgsConverter" />
</Grid.Resources>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
@@ -47,7 +44,7 @@
<i:EventTriggerBehavior EventName="ItemInvoked">
<i:InvokeCommandAction
Command="{x:Bind ViewModel.NavigateCommand}"
InputConverter="{StaticResource ItemInvokedEventArgsConverter}" />
InputConverter="{conv:ItemInvokedEventArgsConverter}" />
</i:EventTriggerBehavior>
</i:Interaction.Behaviors>
<NavigationView.MenuItems>