
<Window x:Class="TradeBlotter.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:vm="clr-namespace:TradeBlotter.ViewModels"		
			  xmlns:vw="clr-namespace:TradeBlotter.Views"				
        xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
        Title="{Binding Path=DisplayName}" 
        Icon="Application.ico"
        FontSize="13"
        FontFamily="Verdana"
        Height="600" 
        Width="920"
        WindowStartupLocation="CenterScreen">
	<Window.Resources>
    <ResourceDictionary Source="MainWindowResources.xaml" />
  </Window.Resources>
		<Grid >
			<DockPanel>
				<DockPanel DockPanel.Dock="Top" KeyboardNavigation.TabNavigation="None">
					<Menu KeyboardNavigation.TabNavigation="Cycle" Name="mainMenu">
						<MenuItem Header="_File" >
							<MenuItem Header="E_xit" Command="{Binding Path=CloseCommand}" />
						</MenuItem>
						<MenuItem Header="_Edit"/>
						<MenuItem Header="_Options"/>
					  <MenuItem Header="_Windows" ItemsSource="{Binding MenuItems,Mode=OneWay}"/>
						<MenuItem Header="_Help"/>
					</Menu>
				</DockPanel>
				<Grid Margin="4">
					<Grid.ColumnDefinitions>
						<ColumnDefinition Width="Auto" />
						<ColumnDefinition Width="4" />
						<ColumnDefinition Width="*" />
					</Grid.ColumnDefinitions>
					<Border 
        Grid.Column="0" 
        Style="{StaticResource MainBorderStyle}"
        Width="185"
        >
						<HeaderedContentControl
          Content="{Binding Path=Commands}"
          ContentTemplate="{StaticResource CommandsTemplate}"
          Header="View Panel"
          Style="{StaticResource MainHCCStyle}"
          />
					</Border>
					<Border 
        Grid.Column="2" 
        Style="{StaticResource MainBorderStyle}"
        >
						<HeaderedContentControl
				          Content="{Binding Path=Workspaces}"
				          ContentTemplate="{StaticResource WorkspacesTemplate}"
				          Header="Views"
				          Style="{StaticResource MainHCCStyle}"
          />
					</Border>
				</Grid>
			</DockPanel>
		</Grid>
</Window>
