<?xml version="1.0" encoding="utf-8"?>
<UserControl x:Class="Toolbar.Toolstrip" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:c1="http://schemas.componentone.com/winfx/2006/xaml">
	<UserControl.Resources>
		<Style TargetType="Image" x:Key="MenuIcon">
			<Setter Property="Width" Value="13" />
			<Setter Property="Height" Value="13" />
			<Setter Property="Margin" Value="5" />
		</Style>
		<Style TargetType="Image" x:Key="tbIcon">
			<Setter Property="Stretch" Value="None" />
			<Setter Property="Margin" Value="1" />
			<Setter Property="Width" Value="16" />
			<Setter Property="Height" Value="16" />
		</Style>
		<Style TargetType="c1:C1Separator" x:Key="tbSep">
			<Setter Property="Background" Value="Transparent" />
			<Setter Property="Width" Value="4" />
		</Style>
	</UserControl.Resources>
	<Grid x:Name="LayoutRoot" Background="White">
		<Grid.RowDefinitions>
			<RowDefinition Height="Auto" />
			<RowDefinition />
		</Grid.RowDefinitions>
		<Grid.ColumnDefinitions>
			<ColumnDefinition Width="Auto" />
			<ColumnDefinition />
		</Grid.ColumnDefinitions>

		<c1:C1CheckeredBorder x:Name="cb" SquareWidth="16" Grid.ColumnSpan="2" Grid.RowSpan="2">
		</c1:C1CheckeredBorder>

		<Border x:Name="imgbdr" Grid.ColumnSpan="2" Grid.RowSpan="2">
			<Image x:Name="img" Stretch="None" Source="../../Resources/ladybird.jpg" />
		</Border>

		<c1:C1ToolbarStrip x:Name="tbZoom" Grid.Row="1" Grid.Column="1" Orientation="Vertical" HorizontalAlignment="Right">
			<c1:C1ToolbarButton x:Name="btn1_1" IsEnabled="False" ToolTipService.ToolTip="Original size" Click="OriginalSize_Click">
				<Image Style="{StaticResource tbIcon}" Source="../../Resources/view_1_1.png" />
			</c1:C1ToolbarButton>
			<c1:C1ToolbarButton x:Name="btnZoomIn" ToolTipService.ToolTip="Zoom in" Click="ZoomIn_Click">
				<Image Style="{StaticResource tbIcon}" Source="../../Resources/zoom_in.png" />
			</c1:C1ToolbarButton>
			<c1:C1ToolbarButton x:Name="btnZoomOut" ToolTipService.ToolTip="Zoom out" Click="ZoomOut_Click">
				<Image Style="{StaticResource tbIcon}" Source="../../Resources/zoom_out.png" />
			</c1:C1ToolbarButton>
		</c1:C1ToolbarStrip>

		<c1:C1ToolbarStrip Grid.ColumnSpan="2" x:Name="tb" Overflow="Panel" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
			<c1:C1ToolbarDropDown ToolTipService.ToolTip="Toolstrip options">
				<c1:C1ToolbarDropDown.Header>
					<Image Style="{StaticResource tbIcon}" Source="../../Resources/controlPanel.png" Margin="-1 1 3 1" />
				</c1:C1ToolbarDropDown.Header>
				<c1:C1ToolbarDropDown.Content>
					<StackPanel Margin="8">
						<TextBlock Text="Toolstrip options" />
						<CheckBox Content="Is vertical" Checked="CheckBox_Checked" Unchecked="CheckBox_Checked" />
						<TextBlock Text="Overflow:" />
						<RadioButton Content="None" Checked="RadioButton_Checked" />
						<RadioButton Content="Menu" Checked="RadioButton_Checked" />
						<RadioButton Content="Panel" IsChecked="True" Checked="RadioButton_Checked" />
					</StackPanel>
				</c1:C1ToolbarDropDown.Content>
			</c1:C1ToolbarDropDown>

			<c1:C1Separator Style="{StaticResource tbSep}" />

			<c1:C1ToolbarDropDown ToolTipService.ToolTip="New">
				<c1:C1ToolbarDropDown.Header>
					<Image Style="{StaticResource tbIcon}" Source="../../Resources/newProject.png" />
				</c1:C1ToolbarDropDown.Header>
				<c1:C1ToolbarDropDown.Menu>
					<c1:C1ContextMenu Header="New">
						<c1:C1MenuItem Header="Team Project...">
							<c1:C1MenuItem.Icon>
								<Image Style="{StaticResource MenuIcon}" Source="../../Resources/newTeamProject.png" />
							</c1:C1MenuItem.Icon>
						</c1:C1MenuItem>
						<c1:C1MenuItem Header="Project...">
							<c1:C1MenuItem.Icon>
								<Image Style="{StaticResource MenuIcon}" Source="../../Resources/newProject.png" />
							</c1:C1MenuItem.Icon>
						</c1:C1MenuItem>
						<c1:C1MenuItem Header="Web Site...">
							<c1:C1MenuItem.Icon>
								<Image Style="{StaticResource MenuIcon}" Source="../../Resources/newWebSite.png" />
							</c1:C1MenuItem.Icon>
						</c1:C1MenuItem>
						<c1:C1MenuItem Header="File...">
							<c1:C1MenuItem.Icon>
								<Image Style="{StaticResource MenuIcon}" Source="../../Resources/newFile.png" />
							</c1:C1MenuItem.Icon>
						</c1:C1MenuItem>
					</c1:C1ContextMenu>
				</c1:C1ToolbarDropDown.Menu>
			</c1:C1ToolbarDropDown>

			<c1:C1Separator Style="{StaticResource tbSep}" />

			<c1:C1ToolbarDropDown ToolTipService.ToolTip="Open">
				<c1:C1ToolbarDropDown.Header>
					<Image Style="{StaticResource tbIcon}" Source="../../Resources/openProject.png" />
				</c1:C1ToolbarDropDown.Header>
				<c1:C1ToolbarDropDown.Menu>
					<c1:C1ContextMenu Header="Open">
						<c1:C1MenuItem Header="Project...">
							<c1:C1MenuItem.Icon>
								<Image Style="{StaticResource MenuIcon}" Source="../../Resources/openProject.png" />
							</c1:C1MenuItem.Icon>
						</c1:C1MenuItem>
						<c1:C1MenuItem Header="Web Site...">
							<c1:C1MenuItem.Icon>
								<Image Style="{StaticResource MenuIcon}" Source="../../Resources/openWebSite.png" />
							</c1:C1MenuItem.Icon>
						</c1:C1MenuItem>
						<c1:C1MenuItem Header="File...">
							<c1:C1MenuItem.Icon>
								<Image Style="{StaticResource MenuIcon}" Source="../../Resources/openFile.png" />
							</c1:C1MenuItem.Icon>
						</c1:C1MenuItem>
					</c1:C1ContextMenu>
				</c1:C1ToolbarDropDown.Menu>
			</c1:C1ToolbarDropDown>
			<c1:C1ToolbarButton ToolTipService.ToolTip="Close solution">
				<Image Style="{StaticResource tbIcon}" Source="../../Resources/closeSolution.png" />
			</c1:C1ToolbarButton>

			<c1:C1Separator Style="{StaticResource tbSep}" />

			<c1:C1ToolbarButton ToolTipService.ToolTip="Save">
				<Image Style="{StaticResource tbIcon}" Source="../../Resources/save.png" />
			</c1:C1ToolbarButton>
			<c1:C1ToolbarButton ToolTipService.ToolTip="Save All">
				<Image Style="{StaticResource tbIcon}" Source="../../Resources/saveAll.png" />
			</c1:C1ToolbarButton>

			<c1:C1Separator Style="{StaticResource tbSep}" />

			<c1:C1ToolbarButton ToolTipService.ToolTip="Page setup">
				<Image Style="{StaticResource tbIcon}" Source="../../Resources/pageSetup.png" />
			</c1:C1ToolbarButton>
			<c1:C1ToolbarButton ToolTipService.ToolTip="Print">
				<Image Style="{StaticResource tbIcon}" Source="../../Resources/print.png" />
			</c1:C1ToolbarButton>

			<c1:C1Separator Style="{StaticResource tbSep}" />

			<c1:C1ToolbarButton ToolTipService.ToolTip="Delete">
				<Image Style="{StaticResource tbIcon}" Source="../../Resources/delete.png" />
			</c1:C1ToolbarButton>
			<c1:C1ToolbarButton ToolTipService.ToolTip="Cut">
				<Image Style="{StaticResource tbIcon}" Source="../../Resources/cut.png" />
			</c1:C1ToolbarButton>
			<c1:C1ToolbarButton ToolTipService.ToolTip="Copy">
				<Image Style="{StaticResource tbIcon}" Source="../../Resources/copy.png" />
			</c1:C1ToolbarButton>
			<c1:C1ToolbarButton ToolTipService.ToolTip="Paste">
				<Image Style="{StaticResource tbIcon}" Source="../../Resources/paste.png" />
			</c1:C1ToolbarButton>

			<c1:C1Separator Style="{StaticResource tbSep}" />

			<c1:C1ToolbarButton ToolTipService.ToolTip="Undo">
				<Image Style="{StaticResource tbIcon}" Source="../../Resources/undo.png" />
			</c1:C1ToolbarButton>
			<c1:C1ToolbarButton ToolTipService.ToolTip="Redo">
				<Image Style="{StaticResource tbIcon}" Source="../../Resources/redo.png" />
			</c1:C1ToolbarButton>

			<c1:C1Separator Style="{StaticResource tbSep}" />

			<c1:C1ToolbarDropDown ToolTipService.ToolTip="Popup">
				<c1:C1ToolbarDropDown.Header>
					<Image Style="{StaticResource tbIcon}" Source="../../Resources/color.png" />
				</c1:C1ToolbarDropDown.Header>
				<c1:C1ToolbarDropDown.Content>
					<StackPanel>
						<StackPanel Orientation="Horizontal">
							<TextBlock Width="20" Text="R:" VerticalAlignment="Center" TextAlignment="Center" />
							<Slider Margin="3" Width="80" />
						</StackPanel>
						<StackPanel Orientation="Horizontal">
							<TextBlock Width="20" Text="G:" VerticalAlignment="Center" TextAlignment="Center" />
							<Slider Margin="3" Width="80" />
						</StackPanel>
						<StackPanel Orientation="Horizontal">
							<TextBlock Width="20" Text="B:" VerticalAlignment="Center" TextAlignment="Center" />
							<Slider Margin="3" Width="80" />
						</StackPanel>

					</StackPanel>
				</c1:C1ToolbarDropDown.Content>
			</c1:C1ToolbarDropDown>

		</c1:C1ToolbarStrip>
	</Grid>

</UserControl>