The grid I'm targeting is the one with background color azure:
Somehow it does not go to the full width of LayoutRoot, and setting it's width programmatically will cause a layoutcycle exception. I've also tried binding the width to parent layout... but that didn't seem to work either :(
<Border Style="{StaticResource ZoomBorderStyle}">
<Grid x:Name="LayoutRoot">
<Grid.RowDefinitions>
<RowDefinition Height="37"/>
<RowDefinition Height="76"/>
<RowDefinition/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<localView:ViewerMenu Width="Auto"
ZoomIn="ViewerMenu_ZoomIn"
ZoomOut="ViewerMenu_ZoomOut"
LayoutOne="ViewerMenu_One"
LayoutFour="ViewerMenu_Four"
ResoFull="ViewerMenu_Full"
Background="White" />
<localView:ImageDetails Grid.Row="1"
ImageMetadata="{Binding CurrentImageContext}"
VerticalAlignment="Top"
Height="Auto"
HorizontalAlignment="Stretch"
Width="Auto"/>
<Grid Grid.Row="1" Grid.RowSpan="2" x:Name="ViewerWrapper" Background="Azure"
HorizontalAlignment="Stretch"
VerticalAlignment="Stretch">
<Grid x:Name="QuadPanel" Visibility="Collapsed">
<Grid.RowDefinitions>
<RowDefinition/>
<RowDefinition/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition/>
<ColumnDefinition/>
</Grid.ColumnDefinitions>
<zoomControls:QuadPanelImage x:Name="QuadImageTopLeft" Content="{Binding ImageTopLeft}" Margin="15" Grid.Row="0"
Grid.Column="0"
PanelPosition="TopLeft"
MouseLeftDoubleClick="InciteContentControl_MouseLeftDoubleClick"
HorizontalContentAlignment="Center"/>
<zoomControls:QuadPanelImage x:Name="QuadImageTopRight" Content="{Binding ImageTopRight}" Margin="15" Grid.Row="0"
Grid.Column="1"
PanelPosition="TopRight"
MouseLeftDoubleClick="InciteContentControl_MouseLeftDoubleClick"
HorizontalContentAlignment="Center"/>
<zoomControls:QuadPanelImage x:Name="QuadImageBottomLeft" Content="{Binding ImageBottomLeft}" Margin="15" Grid.Row="1"
Grid.Column="0"
PanelPosition="BottomLeft"
MouseLeftDoubleClick="InciteContentControl_MouseLeftDoubleClick"
HorizontalContentAlignment="Center"/>
<zoomControls:QuadPanelImage x:Name="QuadImageBottomRight" Content="{Binding ImageBottomRight}" Margin="15" Grid.Row="1"
Grid.Column="1"
PanelPosition="BottomRight"
MouseLeftDoubleClick="InciteContentControl_MouseLeftDoubleClick"
HorizontalContentAlignment="Center"/>
</Grid>