|
143 | 143 | <!-- Add Pane --> |
144 | 144 | <MenuFlyoutSubItem |
145 | 145 | x:Name="SplitPaneMenuItem" |
146 | | - x:Load="{x:Bind Commands.AddHorizontalPane.IsExecutable, Mode=OneWay}" |
147 | | - Text="{helpers:ResourceString Name=AddPane}"> |
148 | | - <MenuFlyoutSubItem.Items> |
149 | | - <!-- Horizontal --> |
150 | | - <uc:MenuFlyoutItemWithThemedIcon |
151 | | - x:Name="AddHorizontalPaneTabActionButton" |
152 | | - Command="{x:Bind Commands.AddHorizontalPane, Mode=OneWay}" |
153 | | - KeyboardAcceleratorTextOverride="{x:Bind Commands.AddHorizontalPane.HotKeyText, Mode=OneWay}" |
154 | | - Text="{x:Bind Commands.AddHorizontalPane.Label}" |
155 | | - ThemedIconStyle="{x:Bind Commands.AddHorizontalPane.ThemedIconStyle}" /> |
156 | | - |
| 146 | + x:Load="{x:Bind Commands.SplitPaneHorizontally.IsExecutable, Mode=OneWay}" |
| 147 | + Text="{helpers:ResourceString Name=SplitPane}"> |
| 148 | + <MenuFlyoutSubItem.Items> |
157 | 149 | <!-- Vertical --> |
158 | 150 | <uc:MenuFlyoutItemWithThemedIcon |
159 | 151 | x:Name="AddVerticalPaneTabActionButton" |
160 | | - Command="{x:Bind Commands.AddVerticalPane, Mode=OneWay}" |
161 | | - KeyboardAcceleratorTextOverride="{x:Bind Commands.AddVerticalPane.HotKeyText, Mode=OneWay}" |
162 | | - Text="{x:Bind Commands.AddVerticalPane.Label}" |
163 | | - ThemedIconStyle="{x:Bind Commands.AddVerticalPane.ThemedIconStyle}" /> |
| 152 | + Command="{x:Bind Commands.SplitPaneVertically, Mode=OneWay}" |
| 153 | + KeyboardAcceleratorTextOverride="{x:Bind Commands.SplitPaneVertically.HotKeyText, Mode=OneWay}" |
| 154 | + Text="{x:Bind Commands.SplitPaneVertically.Label}" |
| 155 | + ThemedIconStyle="{x:Bind Commands.SplitPaneVertically.ThemedIconStyle}" /> |
| 156 | + |
| 157 | + <!-- Horizontal --> |
| 158 | + <uc:MenuFlyoutItemWithThemedIcon |
| 159 | + x:Name="SplitPaneHorizontalTabActionButton" |
| 160 | + Command="{x:Bind Commands.SplitPaneHorizontally, Mode=OneWay}" |
| 161 | + KeyboardAcceleratorTextOverride="{x:Bind Commands.SplitPaneHorizontally.HotKeyText, Mode=OneWay}" |
| 162 | + Text="{x:Bind Commands.SplitPaneHorizontally.Label}" |
| 163 | + ThemedIconStyle="{x:Bind Commands.SplitPaneHorizontally.ThemedIconStyle}" /> |
164 | 164 | </MenuFlyoutSubItem.Items> |
165 | 165 | </MenuFlyoutSubItem> |
166 | 166 |
|
|
170 | 170 | x:Load="{x:Bind Commands.CloseActivePane.IsExecutable, Mode=OneWay}" |
171 | 171 | Text="{helpers:ResourceString Name=ArrangePanes}"> |
172 | 172 | <MenuFlyoutSubItem.Items> |
173 | | - <!-- Horizontal --> |
174 | | - <uc:ToggleMenuFlyoutItemWithThemedIcon |
175 | | - x:Name="ArrangePanesHorizontallyTabActionButton" |
176 | | - Command="{x:Bind Commands.ArrangePanesHorizontally, Mode=OneWay}" |
177 | | - IsChecked="{x:Bind Commands.ArrangePanesHorizontally.IsOn, Mode=OneWay}" |
178 | | - KeyboardAcceleratorTextOverride="{x:Bind Commands.ArrangePanesHorizontally.HotKeyText, Mode=OneWay}" |
179 | | - Text="{x:Bind Commands.ArrangePanesHorizontally.Label}" |
180 | | - ThemedIconStyle="{x:Bind Commands.ArrangePanesHorizontally.ThemedIconStyle}" /> |
181 | | - |
182 | 173 | <!-- Vertical --> |
183 | 174 | <uc:ToggleMenuFlyoutItemWithThemedIcon |
184 | 175 | x:Name="ArrangePanesVerticallyTabActionButton" |
|
187 | 178 | KeyboardAcceleratorTextOverride="{x:Bind Commands.ArrangePanesVertically.HotKeyText, Mode=OneWay}" |
188 | 179 | Text="{x:Bind Commands.ArrangePanesVertically.Label}" |
189 | 180 | ThemedIconStyle="{x:Bind Commands.ArrangePanesVertically.ThemedIconStyle}" /> |
| 181 | + |
| 182 | + <!-- Horizontal --> |
| 183 | + <uc:ToggleMenuFlyoutItemWithThemedIcon |
| 184 | + x:Name="ArrangePanesHorizontallyTabActionButton" |
| 185 | + Command="{x:Bind Commands.ArrangePanesHorizontally, Mode=OneWay}" |
| 186 | + IsChecked="{x:Bind Commands.ArrangePanesHorizontally.IsOn, Mode=OneWay}" |
| 187 | + KeyboardAcceleratorTextOverride="{x:Bind Commands.ArrangePanesHorizontally.HotKeyText, Mode=OneWay}" |
| 188 | + Text="{x:Bind Commands.ArrangePanesHorizontally.Label}" |
| 189 | + ThemedIconStyle="{x:Bind Commands.ArrangePanesHorizontally.ThemedIconStyle}" /> |
190 | 190 | </MenuFlyoutSubItem.Items> |
191 | 191 | </MenuFlyoutSubItem> |
192 | 192 |
|
|
0 commit comments