Skip to content

Instantly share code, notes, and snippets.

@AndyWatt83
Created April 20, 2018 15:58
Show Gist options
  • Save AndyWatt83/d635f8edf7222b5ba944a38f52ac7185 to your computer and use it in GitHub Desktop.
Save AndyWatt83/d635f8edf7222b5ba944a38f52ac7185 to your computer and use it in GitHub Desktop.
<Window x:Class="WireFrame.Shell.Shell"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:WireFrame.Shell"
mc:Ignorable="d"
Title="Shell" Height="450" Width="600">
<Window.Resources>
<Thickness x:Key="BtnMargin">5,5,5,0</Thickness>
</Window.Resources>
<DockPanel LastChildFill="True">
<StackPanel DockPanel.Dock="Left" Width="150">
<Button Content="Navigation 1" Margin="{DynamicResource BtnMargin}" />
<Button Content="Navigation 2" Margin="{DynamicResource BtnMargin}" />
<Button Content="Navigation 3" Margin="{DynamicResource BtnMargin}" IsEnabled="False"/>
<Button Content="Navigation 4" Margin="{DynamicResource BtnMargin}" IsEnabled="False"/>
</StackPanel>
<Border BorderBrush="Blue" BorderThickness="1">
<TextBlock FontSize="40" FontWeight="Bold" Text="MAIN REGION" VerticalAlignment="Center" HorizontalAlignment="Center" />
</Border>
</DockPanel>
</Window>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment