| 
200 | 200 | 							MinHeight="100" />  | 
201 | 201 | 						<RowDefinition Height="Auto" />  | 
202 | 202 | 						<RowDefinition x:Name="InfoPaneRowDefinition" Height="Auto" />  | 
203 |  | -                        <RowDefinition x:Name="TerminalRow" Height="0" />  | 
 | 203 | +						<RowDefinition x:Name="TerminalRow" Height="0" />  | 
204 | 204 | 						<RowDefinition Height="Auto" MinHeight="8" />  | 
205 | 205 | 					</Grid.RowDefinitions>  | 
206 | 206 | 					<Grid.ColumnDefinitions>  | 
 | 
256 | 256 | 						Loaded="PreviewPane_Loaded"  | 
257 | 257 | 						Unloaded="PreviewPane_Unloaded" />  | 
258 | 258 | 
 
  | 
259 |  | -				<!--  Terminal  -->  | 
260 |  | -				<ContentPresenter  | 
261 |  | -					x:Name="TerminalControl"  | 
262 |  | -					Grid.Row="4"  | 
263 |  | -					Grid.ColumnSpan="3"  | 
264 |  | -                    Margin="0,4,0,4"  | 
265 |  | -					Content="{x:Bind ViewModel.ActiveTerminal, Mode=OneWay}"  | 
266 |  | -					Visibility="{x:Bind ViewModel.IsTerminalViewOpen, Mode=OneWay}" />  | 
267 |  | - | 
268 |  | -                    <!--  Status Bar  -->  | 
269 |  | -				<uc:StatusBarControl  | 
270 |  | -					x:Name="StatusBarControl"  | 
271 |  | -					Grid.Row="5"  | 
272 |  | -					Grid.ColumnSpan="3"  | 
273 |  | -					x:Load="False"  | 
274 |  | -					ShowInfoText="{x:Bind SidebarAdaptiveViewModel.PaneHolder.ActivePaneOrColumn.InstanceViewModel.IsPageTypeNotHome, Mode=OneWay}" />  | 
275 |  | - | 
276 |  | -                <i:Interaction.Behaviors>  | 
277 |  | -                    <icore:DataTriggerBehavior  | 
278 |  | -						Binding="{x:Bind ViewModel.IsTerminalViewOpen, Mode=OneWay}"  | 
279 |  | -						ComparisonCondition="Equal"  | 
280 |  | -						Value="True">  | 
281 |  | -                        <icore:ChangePropertyAction  | 
282 |  | -							PropertyName="Height"  | 
283 |  | -							TargetObject="{Binding ElementName=TerminalRow}"  | 
284 |  | -							Value="0.5*" />  | 
285 |  | -                    </icore:DataTriggerBehavior>  | 
286 |  | -                    <icore:DataTriggerBehavior  | 
287 |  | -						Binding="{x:Bind ViewModel.IsTerminalViewOpen, Mode=OneWay}"  | 
288 |  | -						ComparisonCondition="Equal"  | 
289 |  | -						Value="False">  | 
290 |  | -                        <icore:ChangePropertyAction  | 
291 |  | -							PropertyName="Height"  | 
292 |  | -							TargetObject="{Binding ElementName=TerminalRow}"  | 
293 |  | -							Value="0" />  | 
294 |  | -                    </icore:DataTriggerBehavior>  | 
295 |  | -                </i:Interaction.Behaviors>  | 
296 |  | -                </Grid>  | 
 | 259 | +					<!--  Terminal  -->  | 
 | 260 | +					<ContentPresenter  | 
 | 261 | +						x:Name="TerminalControl"  | 
 | 262 | +						Grid.Row="4"  | 
 | 263 | +						Grid.ColumnSpan="3"  | 
 | 264 | +						Margin="0,4,0,4"  | 
 | 265 | +						Content="{x:Bind ViewModel.ActiveTerminal, Mode=OneWay}"  | 
 | 266 | +						Visibility="{x:Bind ViewModel.IsTerminalViewOpen, Mode=OneWay}" />  | 
 | 267 | + | 
 | 268 | +					<!--  Status Bar  -->  | 
 | 269 | +					<uc:StatusBar  | 
 | 270 | +						x:Name="StatusBar"  | 
 | 271 | +						Grid.Row="5"  | 
 | 272 | +						Grid.ColumnSpan="3"  | 
 | 273 | +						x:Load="False"  | 
 | 274 | +						ShowInfoText="{x:Bind ViewModel.ShowStatusBar, Mode=OneWay}"  | 
 | 275 | +						Visibility="{x:Bind ViewModel.ShowStatusBar, Mode=OneWay}" />  | 
297 | 276 | 
 
  | 
298 |  | -						<Button.ContextFlyout>  | 
299 |  | -							<MenuFlyout>  | 
300 |  | -								<MenuFlyoutItem  | 
301 |  | -									Command="{x:Bind Commands.OpenSettingsFile, Mode=OneWay}"  | 
302 |  | -									Icon="{x:Bind Commands.OpenSettingsFile.FontIcon, Mode=OneWay}"  | 
303 |  | -									Text="{x:Bind Commands.OpenSettingsFile.Label, Mode=OneWay}" />  | 
 | 277 | +					<!--  Shelf Pane  -->  | 
 | 278 | +					<uc:ShelfPane  | 
 | 279 | +						x:Name="ShelfPane"  | 
 | 280 | +						Grid.Row="0"  | 
 | 281 | +						Grid.RowSpan="5"  | 
 | 282 | +						Grid.Column="3"  | 
 | 283 | +						Margin="4,0,0,8"  | 
304 | 284 | 						x:Load="{x:Bind ViewModel.ShowShelfPane, Mode=OneWay}"  | 
305 | 285 | 						ClearCommand="{x:Bind ViewModel.ShelfViewModel.ClearItemsCommand}"  | 
306 | 286 | 						ItemFocusedCommand="{x:Bind Commands.ClearSelection, Mode=OneWay}"  | 
307 | 287 | 						ItemsSource="{x:Bind ViewModel.ShelfViewModel.Items}" />  | 
 | 288 | + | 
 | 289 | +					<i:Interaction.Behaviors>  | 
 | 290 | +						<i:DataTriggerBehavior  | 
 | 291 | +							Binding="{x:Bind ViewModel.IsTerminalViewOpen, Mode=OneWay}"  | 
 | 292 | +							ComparisonCondition="Equal"  | 
 | 293 | +							Value="True">  | 
 | 294 | +							<i:ChangePropertyAction  | 
 | 295 | +								PropertyName="Height"  | 
 | 296 | +								TargetObject="{Binding ElementName=TerminalRow}"  | 
 | 297 | +								Value="0.5*" />  | 
 | 298 | +						</i:DataTriggerBehavior>  | 
 | 299 | +						<i:DataTriggerBehavior  | 
 | 300 | +							Binding="{x:Bind ViewModel.IsTerminalViewOpen, Mode=OneWay}"  | 
 | 301 | +							ComparisonCondition="Equal"  | 
 | 302 | +							Value="False">  | 
 | 303 | +							<i:ChangePropertyAction  | 
 | 304 | +								PropertyName="Height"  | 
 | 305 | +								TargetObject="{Binding ElementName=TerminalRow}"  | 
 | 306 | +								Value="0" />  | 
 | 307 | +						</i:DataTriggerBehavior>  | 
 | 308 | +					</i:Interaction.Behaviors>  | 
308 | 309 | 				</Grid>  | 
309 | 310 | 			</controls:SidebarView.InnerContent>  | 
310 | 311 | 
 
  | 
 | 
398 | 399 | 
 
  | 
399 | 400 | 		<!--  Review Files Prompt  -->  | 
400 | 401 | 		<TeachingTip  | 
401 |  | -			ActionButtonCommand="{x:Bind ViewModel.ReviewAppCommand}"  | 
 | 402 | +			Title="{helpers:ResourceString Name=Hello}"  | 
402 | 403 | 			Grid.RowSpan="3"  | 
403 | 404 | 			HorizontalAlignment="Center"  | 
404 | 405 | 			VerticalAlignment="Bottom"  | 
 | 
0 commit comments