Converters updated as MarkupExtension
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user