<UserControl x:Class="GraphicData.User_Control.uDataGraph"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:ico="clr-namespace:FasdDesktopUi.Basics.UserControls.AdaptableIcon;assembly=F4SD-AdaptableIcon"
             mc:Ignorable="d" 
             d:DesignHeight="320" d:DesignWidth="620">
    <Border CornerRadius="10" Background="{DynamicResource color272727}">
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="42"/>
                <RowDefinition Height="*"/>
            </Grid.RowDefinitions>

            <Grid Grid.Row="0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="*"/>
                    <ColumnDefinition Width="10"/>
                    <ColumnDefinition Width="32"/>
                </Grid.ColumnDefinitions>
                <Border Grid.Column="0" Background="{DynamicResource color272727}" CornerRadius="10,0,0,0">
                    <Grid>
                        <Grid.RowDefinitions>
                            <RowDefinition/>
                            <RowDefinition/>
                        </Grid.RowDefinitions>
                        <TextBlock Grid.Row="0" x:Name="TitleBlock" HorizontalAlignment="Center" Margin="0,5,-42,0" FontFamily="Calibri" FontSize="14" FontWeight="Bold" Foreground="{DynamicResource color9B9B9B}">

                        </TextBlock>
                        <TextBlock Grid.Row="1" x:Name="DateBlock" HorizontalAlignment="Center" Margin="0,0,-42,0" FontFamily="Calibri" FontSize="13" FontWeight="Regular" Foreground="{DynamicResource color9B9B9B}">

                        </TextBlock>
                    </Grid>
                </Border>

                <Border Grid.Column="2" Height="32" Background="{DynamicResource color272727}" CornerRadius="0,10,0,0" Padding="0,5,5,0" VerticalAlignment="Top" MouseEnter="Border_MouseEnter" MouseLeave="Border_MouseLeave" MouseLeftButtonUp="Border_MouseLeftButtonUp" TouchDown="Border_TouchDown">
                    <ico:AdaptableIcon x:Name="CloseButton" SelectedInternIcon="window_close" PrimaryIconColor="{DynamicResource color9B9B9B}" VerticalAlignment="Center" HorizontalAlignment="Center" BorderThickness="0" BorderPadding="0" IconHeight="10" IconWidth="10" Visibility="Visible">

                    </ico:AdaptableIcon>
                </Border>
            </Grid>

            <Grid Grid.Row="1" Margin="10,10,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="*"/>
                    <ColumnDefinition Width="32"/>
                </Grid.ColumnDefinitions>

                <Grid.RowDefinitions>
                    <RowDefinition Height="*"/>
                    <RowDefinition Height="28"/>
                </Grid.RowDefinitions>

                <Grid Grid.Column="0" Grid.Row="0" Background="{DynamicResource color272727}">
                    <Grid.RowDefinitions>
                        <RowDefinition/>
                        <RowDefinition/>
                        <RowDefinition/>
                        <RowDefinition/>
                        <RowDefinition/>
                    </Grid.RowDefinitions>

                    <Border Grid.RowSpan="5" x:Name="GraphicBorder" Panel.ZIndex="1">
                        <Border x:Name="CanvasBorder">
                            <Canvas x:Name="GraphicCanvas" Panel.ZIndex="1"/>
                        </Border>
                    </Border>

                    <Border Grid.Row="0" BorderThickness="1" Height="1" Margin="5,0,5,0">
                        <Border.BorderBrush>
                            <DrawingBrush Viewport="0,0,10,10" ViewportUnits="Absolute" TileMode="Tile">
                                <DrawingBrush.Drawing>
                                    <DrawingGroup>
                                        <GeometryDrawing Brush="{DynamicResource color414141}">
                                            <GeometryDrawing.Geometry>
                                                <GeometryGroup>
                                                    <RectangleGeometry Rect="0,0,50,50" />
                                                    <RectangleGeometry Rect="50,50,50,0" />
                                                </GeometryGroup>
                                            </GeometryDrawing.Geometry>
                                        </GeometryDrawing>
                                    </DrawingGroup>
                                </DrawingBrush.Drawing>
                            </DrawingBrush>
                        </Border.BorderBrush>

                    </Border>
                    <Border Grid.Row="1" BorderThickness="1" Height="1" Margin="5,0,5,0">
                        <Border.BorderBrush>
                            <DrawingBrush Viewport="0,0,10,10" ViewportUnits="Absolute" TileMode="Tile">
                                <DrawingBrush.Drawing>
                                    <DrawingGroup>
                                        <GeometryDrawing Brush="{DynamicResource color414141}">
                                            <GeometryDrawing.Geometry>
                                                <GeometryGroup>
                                                    <RectangleGeometry Rect="0,0,50,50" />
                                                    <RectangleGeometry Rect="50,50,50,0" />
                                                </GeometryGroup>
                                            </GeometryDrawing.Geometry>
                                        </GeometryDrawing>
                                    </DrawingGroup>
                                </DrawingBrush.Drawing>
                            </DrawingBrush>
                        </Border.BorderBrush>

                    </Border>
                    <Border Grid.Row="2" BorderThickness="1" Height="1" Margin="5,0,5,0">
                        <Border.BorderBrush>
                            <DrawingBrush Viewport="0,0,10,10" ViewportUnits="Absolute" TileMode="Tile">
                                <DrawingBrush.Drawing>
                                    <DrawingGroup>
                                        <GeometryDrawing Brush="{DynamicResource color414141}">
                                            <GeometryDrawing.Geometry>
                                                <GeometryGroup>
                                                    <RectangleGeometry Rect="0,0,50,50" />
                                                    <RectangleGeometry Rect="50,50,50,0" />
                                                </GeometryGroup>
                                            </GeometryDrawing.Geometry>
                                        </GeometryDrawing>
                                    </DrawingGroup>
                                </DrawingBrush.Drawing>
                            </DrawingBrush>
                        </Border.BorderBrush>

                    </Border>
                    <Border Grid.Row="3" BorderThickness="1" Height="1" Margin="5,0,5,0">
                        <Border.BorderBrush>
                            <DrawingBrush Viewport="0,0,10,10" ViewportUnits="Absolute" TileMode="Tile">
                                <DrawingBrush.Drawing>
                                    <DrawingGroup>
                                        <GeometryDrawing Brush="{DynamicResource color414141}">
                                            <GeometryDrawing.Geometry>
                                                <GeometryGroup>
                                                    <RectangleGeometry Rect="0,0,50,50" />
                                                    <RectangleGeometry Rect="50,50,50,0" />
                                                </GeometryGroup>
                                            </GeometryDrawing.Geometry>
                                        </GeometryDrawing>
                                    </DrawingGroup>
                                </DrawingBrush.Drawing>
                            </DrawingBrush>
                        </Border.BorderBrush>

                    </Border>
                    <Border Grid.Row="4" BorderThickness="1" Height="1" Margin="5,0,5,0">
                        <Border.BorderBrush>
                            <DrawingBrush Viewport="0,0,10,10" ViewportUnits="Absolute" TileMode="Tile">
                                <DrawingBrush.Drawing>
                                    <DrawingGroup>
                                        <GeometryDrawing Brush="{DynamicResource color414141}">
                                            <GeometryDrawing.Geometry>
                                                <GeometryGroup>
                                                    <RectangleGeometry Rect="0,0,50,50" />
                                                    <RectangleGeometry Rect="50,50,50,0" />
                                                </GeometryGroup>
                                            </GeometryDrawing.Geometry>
                                        </GeometryDrawing>
                                    </DrawingGroup>
                                </DrawingBrush.Drawing>
                            </DrawingBrush>
                        </Border.BorderBrush>

                    </Border>
                </Grid>

                <Border Name="PercentBorder" Grid.Column="2" Grid.Row="0" Background="{DynamicResource color272727}">
                    <Grid>
                        <Grid.RowDefinitions>
                            <RowDefinition/>
                            <RowDefinition/>
                            <RowDefinition/>
                            <RowDefinition/>
                            <RowDefinition/>
                        </Grid.RowDefinitions>

                        <TextBlock Grid.Row="0" Text="100%" VerticalAlignment="Center" FontFamily="Calibri" FontSize="11" Foreground="{DynamicResource color9B9B9B}">
                            
                        </TextBlock>

                        <TextBlock Grid.Row="1" Text="75%" VerticalAlignment="Center" FontFamily="Calibri" FontSize="11" Foreground="{DynamicResource color9B9B9B}">

                        </TextBlock>

                        <TextBlock Grid.Row="2" Text="50%" VerticalAlignment="Center" FontFamily="Calibri" FontSize="11" Foreground="{DynamicResource color9B9B9B}">

                        </TextBlock>

                        <TextBlock Grid.Row="3" Text="25%" VerticalAlignment="Center" FontFamily="Calibri" FontSize="11" Foreground="{DynamicResource color9B9B9B}">

                        </TextBlock>

                        <TextBlock Grid.Row="4" Text="0%" VerticalAlignment="Center" FontFamily="Calibri" FontSize="11" Foreground="{DynamicResource color9B9B9B}">

                        </TextBlock>
                    </Grid>
                </Border>

                <Grid x:Name="TimeStampGrid" Grid.Column="0" Grid.Row="1" Background="{DynamicResource color272727}" Margin="0,0,0,15">

                </Grid>

            </Grid>

        </Grid>
    </Border>
</UserControl>
