|
8 | 8 | xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
9 | 9 | xmlns:helpers="using:Files.App.Helpers" |
10 | 10 | xmlns:i="using:Microsoft.Xaml.Interactivity" |
11 | | - xmlns:icore="using:Microsoft.Xaml.Interactions.Core" |
12 | 11 | xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
13 | 12 | xmlns:sidebar="using:Files.App.UserControls.Sidebar" |
14 | 13 | xmlns:tabbar="using:Files.App.UserControls.TabBar" |
|
56 | 55 | <Page.KeyboardAccelerators> |
57 | 56 | <KeyboardAccelerator Key="Number1" Modifiers="Control"> |
58 | 57 | <i:Interaction.Behaviors> |
59 | | - <icore:EventTriggerBehavior EventName="Invoked"> |
60 | | - <icore:InvokeCommandAction Command="{x:Bind ViewModel.NavigateToNumberedTabKeyboardAcceleratorCommand}" /> |
61 | | - </icore:EventTriggerBehavior> |
| 58 | + <i:EventTriggerBehavior EventName="Invoked"> |
| 59 | + <i:InvokeCommandAction Command="{x:Bind ViewModel.NavigateToNumberedTabKeyboardAcceleratorCommand}" /> |
| 60 | + </i:EventTriggerBehavior> |
62 | 61 | </i:Interaction.Behaviors> |
63 | 62 | </KeyboardAccelerator> |
64 | 63 | <KeyboardAccelerator Key="Number2" Modifiers="Control"> |
65 | 64 | <i:Interaction.Behaviors> |
66 | | - <icore:EventTriggerBehavior EventName="Invoked"> |
67 | | - <icore:InvokeCommandAction Command="{x:Bind ViewModel.NavigateToNumberedTabKeyboardAcceleratorCommand}" /> |
68 | | - </icore:EventTriggerBehavior> |
| 65 | + <i:EventTriggerBehavior EventName="Invoked"> |
| 66 | + <i:InvokeCommandAction Command="{x:Bind ViewModel.NavigateToNumberedTabKeyboardAcceleratorCommand}" /> |
| 67 | + </i:EventTriggerBehavior> |
69 | 68 | </i:Interaction.Behaviors> |
70 | 69 | </KeyboardAccelerator> |
71 | 70 | <KeyboardAccelerator Key="Number3" Modifiers="Control"> |
72 | 71 | <i:Interaction.Behaviors> |
73 | | - <icore:EventTriggerBehavior EventName="Invoked"> |
74 | | - <icore:InvokeCommandAction Command="{x:Bind ViewModel.NavigateToNumberedTabKeyboardAcceleratorCommand}" /> |
75 | | - </icore:EventTriggerBehavior> |
| 72 | + <i:EventTriggerBehavior EventName="Invoked"> |
| 73 | + <i:InvokeCommandAction Command="{x:Bind ViewModel.NavigateToNumberedTabKeyboardAcceleratorCommand}" /> |
| 74 | + </i:EventTriggerBehavior> |
76 | 75 | </i:Interaction.Behaviors> |
77 | 76 | </KeyboardAccelerator> |
78 | 77 | <KeyboardAccelerator Key="Number4" Modifiers="Control"> |
79 | 78 | <i:Interaction.Behaviors> |
80 | | - <icore:EventTriggerBehavior EventName="Invoked"> |
81 | | - <icore:InvokeCommandAction Command="{x:Bind ViewModel.NavigateToNumberedTabKeyboardAcceleratorCommand}" /> |
82 | | - </icore:EventTriggerBehavior> |
| 79 | + <i:EventTriggerBehavior EventName="Invoked"> |
| 80 | + <i:InvokeCommandAction Command="{x:Bind ViewModel.NavigateToNumberedTabKeyboardAcceleratorCommand}" /> |
| 81 | + </i:EventTriggerBehavior> |
83 | 82 | </i:Interaction.Behaviors> |
84 | 83 | </KeyboardAccelerator> |
85 | 84 | <KeyboardAccelerator Key="Number5" Modifiers="Control"> |
86 | 85 | <i:Interaction.Behaviors> |
87 | | - <icore:EventTriggerBehavior EventName="Invoked"> |
88 | | - <icore:InvokeCommandAction Command="{x:Bind ViewModel.NavigateToNumberedTabKeyboardAcceleratorCommand}" /> |
89 | | - </icore:EventTriggerBehavior> |
| 86 | + <i:EventTriggerBehavior EventName="Invoked"> |
| 87 | + <i:InvokeCommandAction Command="{x:Bind ViewModel.NavigateToNumberedTabKeyboardAcceleratorCommand}" /> |
| 88 | + </i:EventTriggerBehavior> |
90 | 89 | </i:Interaction.Behaviors> |
91 | 90 | </KeyboardAccelerator> |
92 | 91 | <KeyboardAccelerator Key="Number6" Modifiers="Control"> |
93 | 92 | <i:Interaction.Behaviors> |
94 | | - <icore:EventTriggerBehavior EventName="Invoked"> |
95 | | - <icore:InvokeCommandAction Command="{x:Bind ViewModel.NavigateToNumberedTabKeyboardAcceleratorCommand}" /> |
96 | | - </icore:EventTriggerBehavior> |
| 93 | + <i:EventTriggerBehavior EventName="Invoked"> |
| 94 | + <i:InvokeCommandAction Command="{x:Bind ViewModel.NavigateToNumberedTabKeyboardAcceleratorCommand}" /> |
| 95 | + </i:EventTriggerBehavior> |
97 | 96 | </i:Interaction.Behaviors> |
98 | 97 | </KeyboardAccelerator> |
99 | 98 | <KeyboardAccelerator Key="Number7" Modifiers="Control"> |
100 | 99 | <i:Interaction.Behaviors> |
101 | | - <icore:EventTriggerBehavior EventName="Invoked"> |
102 | | - <icore:InvokeCommandAction Command="{x:Bind ViewModel.NavigateToNumberedTabKeyboardAcceleratorCommand}" /> |
103 | | - </icore:EventTriggerBehavior> |
| 100 | + <i:EventTriggerBehavior EventName="Invoked"> |
| 101 | + <i:InvokeCommandAction Command="{x:Bind ViewModel.NavigateToNumberedTabKeyboardAcceleratorCommand}" /> |
| 102 | + </i:EventTriggerBehavior> |
104 | 103 | </i:Interaction.Behaviors> |
105 | 104 | </KeyboardAccelerator> |
106 | 105 | <KeyboardAccelerator Key="Number8" Modifiers="Control"> |
107 | 106 | <i:Interaction.Behaviors> |
108 | | - <icore:EventTriggerBehavior EventName="Invoked"> |
109 | | - <icore:InvokeCommandAction Command="{x:Bind ViewModel.NavigateToNumberedTabKeyboardAcceleratorCommand}" /> |
110 | | - </icore:EventTriggerBehavior> |
| 107 | + <i:EventTriggerBehavior EventName="Invoked"> |
| 108 | + <i:InvokeCommandAction Command="{x:Bind ViewModel.NavigateToNumberedTabKeyboardAcceleratorCommand}" /> |
| 109 | + </i:EventTriggerBehavior> |
111 | 110 | </i:Interaction.Behaviors> |
112 | 111 | </KeyboardAccelerator> |
113 | 112 | <KeyboardAccelerator Key="Number9" Modifiers="Control"> |
114 | 113 | <i:Interaction.Behaviors> |
115 | | - <icore:EventTriggerBehavior EventName="Invoked"> |
116 | | - <icore:InvokeCommandAction Command="{x:Bind ViewModel.NavigateToNumberedTabKeyboardAcceleratorCommand}" /> |
117 | | - </icore:EventTriggerBehavior> |
| 114 | + <i:EventTriggerBehavior EventName="Invoked"> |
| 115 | + <i:InvokeCommandAction Command="{x:Bind ViewModel.NavigateToNumberedTabKeyboardAcceleratorCommand}" /> |
| 116 | + </i:EventTriggerBehavior> |
118 | 117 | </i:Interaction.Behaviors> |
119 | 118 | </KeyboardAccelerator> |
120 | 119 | </Page.KeyboardAccelerators> |
|
0 commit comments