<?xml version="1.0" encoding="utf-8"?>
<UserControl mc:Ignorable="d" x:Class="VSDev9.MainPage" d:DesignWidth="640" d:DesignHeight="480" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:sys="clr-namespace:System;assembly=mscorlib" xmlns:c1="http://schemas.componentone.com/winfx/2006/xaml" xmlns:VSControls="clr-namespace:VSDev9.Controls" xmlns:local="clr-namespace:VSDev9" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006">
	<Border Background="#FFE1E7ED" BorderBrush="#FFADADAD" BorderThickness="1">
		<Grid>
			<Grid.RowDefinitions>
				<RowDefinition Height="22" />
				<RowDefinition Height="Auto" />
				<RowDefinition Height="*" />
			</Grid.RowDefinitions>

			<!-- Menu -->
			<c1:C1Menu Grid.Row="0" BorderThickness="0">
				<c1:C1MenuItem Header="File">
					<c1:C1MenuItem Header="New">
						<c1:C1MenuItem Header="Docking..." Click="AddDocking_Click" />
						<c1:C1MenuItem Header="Sliding..." Click="AddSliding_Click" />
					</c1:C1MenuItem>
					<c1:C1Separator />
					<c1:C1MenuItem Header="Current">
						<c1:C1MenuItem Header="Toggle Window Mode" Click="ToggleWindowMode_Click" />
						<c1:C1MenuItem Header="Toggle tab strip placement" Click="ToggleTabStripPlacement_Click" />
					</c1:C1MenuItem>
					<c1:C1MenuItem Header="Import &amp; Export">
						<c1:C1MenuItem Header="Import..." Click="ImportDocking_Click" />
						<c1:C1MenuItem Header="Export..." Click="ExportDocking_Click" />
					</c1:C1MenuItem>
				</c1:C1MenuItem>
				<c1:C1MenuItem Header="View" x:Name="ViewMenuItem" Height="20" />
				<c1:C1MenuItem Header="Window" x:Name="WindowMenuItem" Height="20" />
			</c1:C1Menu>

			<!-- Toolbar -->
			<c1:C1ToolbarStrip Grid.Row="1" Margin="2">
				<c1:C1ToolbarButton ToolTipService.ToolTip="New Project">
					<Image Stretch="None" Source="../Resources/newproject.png" />
				</c1:C1ToolbarButton>
				<c1:C1ToolbarButton ToolTipService.ToolTip="Add New Item">
					<Image Stretch="None" Source="../Resources/addnewitem.png" />
				</c1:C1ToolbarButton>
				<c1:C1ToolbarButton ToolTipService.ToolTip="Open File">
					<Image Stretch="None" Source="../Resources/openfile.png" />
				</c1:C1ToolbarButton>
				<c1:C1ToolbarButton ToolTipService.ToolTip="Save">
					<Image Stretch="None" Source="../Resources/save.png" />
				</c1:C1ToolbarButton>
				<c1:C1ToolbarButton ToolTipService.ToolTip="Save All">
					<Image Stretch="None" Source="../Resources/saveall.png" />
				</c1:C1ToolbarButton>
				<c1:C1Separator />
				<c1:C1ToolbarButton ToolTipService.ToolTip="Preview Transformation">
					<Image Stretch="None" Source="../Resources/previewtransformation.png" />
				</c1:C1ToolbarButton>
				<c1:C1Separator />
				<c1:C1ToolbarButton ToolTipService.ToolTip="Cut">
					<Image Stretch="None" Source="../Resources/cut.png" />
				</c1:C1ToolbarButton>
				<c1:C1ToolbarButton ToolTipService.ToolTip="Copy">
					<Image Stretch="None" Source="../Resources/copy.png" />
				</c1:C1ToolbarButton>
				<c1:C1ToolbarButton ToolTipService.ToolTip="Paste">
					<Image Stretch="None" Source="../Resources/paste.png" />
				</c1:C1ToolbarButton>
				<c1:C1Separator />
				<c1:C1ToolbarButton ToolTipService.ToolTip="Undo">
					<Image Stretch="None" Source="../Resources/undo.png" />
				</c1:C1ToolbarButton>
				<c1:C1ToolbarButton ToolTipService.ToolTip="Redo" IsEnabled="False">
					<Image Stretch="None" Source="../Resources/redo.png" />
				</c1:C1ToolbarButton>
			</c1:C1ToolbarStrip>

			<!-- DockControl -->
			<c1:C1DockControl Grid.Row="2" Margin="0" x:Name="dockControl" PickerLoading="dockControl_PickerLoading" ViewChanged="dockControl_ViewChanged">
				<c1:C1DockTabControl DockMode="Sliding" Dock="Left">

					<local:TabItem Header="Server Explorer">
						<VSControls:ServerExplorer />
					</local:TabItem>

					<local:TabItem Header="Toolbox">
						<VSControls:Toolbox />
					</local:TabItem>
				</c1:C1DockTabControl>
				<c1:C1DockTabControl Dock="Left" DockWidth="100">
					<local:TabItem Header="Solution Explorer">
						<VSControls:SolutionExplorer />
					</local:TabItem>

					<local:TabItem Header="Class View">
						<VSControls:ClassView />
					</local:TabItem>
				</c1:C1DockTabControl>
				<c1:C1DockTabControl Dock="Right" DockMode="Sliding">

					<local:TabItem Header="Team Explorer">
						<VSControls:TeamExplorer />
					</local:TabItem>
				</c1:C1DockTabControl>
				<c1:C1DockTabControl Dock="Right" DockWidth="100">

					<local:TabItem Header="Properties">
						<VSControls:Properties />
					</local:TabItem>
				</c1:C1DockTabControl>
				<c1:C1DockTabControl Tag="docs" TabStripPlacement="Top" TabStripMenuVisibility="Visible" ShowHeader="False" TabItemShape="Sloped" TabStripOverlap="5" TabItemClose="GlobalClose" HorizontalFill="True" VerticalFill="True">
					<local:TabItem Header="Start Page">
						<VSControls:StartPage />
					</local:TabItem>

					<local:TabItem Header="App.xaml">
						<VSControls:FileEditor FileName="App_xaml" />
					</local:TabItem>

					<local:TabItem Header="Default.html">
						<VSControls:FileEditor FileName="Default_html" />
					</local:TabItem>
				</c1:C1DockTabControl>
				<c1:C1DockTabControl Dock="Bottom" DockMode="Sliding">
					<local:TabItem Header="Error List">
						<VSControls:ErrorList />
					</local:TabItem>

					<local:TabItem Header="Pending Changes">
						<VSControls:PendingChanges />
					</local:TabItem>

					<local:TabItem Header="Output">
						<VSControls:Output />
					</local:TabItem>

					<local:TabItem Header="Find Symbol Results">
						<VSControls:FindSymbolResults />
					</local:TabItem>

					<local:TabItem Header="Command Window">
						<VSControls:CommandWindow />
					</local:TabItem>
				</c1:C1DockTabControl>
			</c1:C1DockControl>
		</Grid>
	</Border>
</UserControl>