<Window x:Class="PowerSystemProtection.Windows.Palette_Set"
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:PowerSystemProtection.Windows"
mc:Ignorable="d"
Height="Auto"
Width="Auto"
WindowStyle="None"
PreviewKeyDown="HandleEsc"
AllowsTransparency="True"
ShowInTaskbar="False"
Background="Transparent"
BorderBrush="Transparent"
Foreground="Transparent"
ResizeMode="NoResize"
FontFamily="GOST Type B"
FontSize="14"
SizeToContent="WidthAndHeight">
<Grid Background="#00000000">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="3" />
<ColumnDefinition Width="3" />
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="3" />
<ColumnDefinition Width="21" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="3" />
<RowDefinition Height="3" />
<RowDefinition Height="Auto" />
<RowDefinition Height="3" />
<RowDefinition Height="3" />
</Grid.RowDefinitions>
<Rectangle Grid.Column="0"
Grid.ColumnSpan="5"
Grid.Row="0"
Grid.RowSpan="5"
Fill="#FF2E3440"
Stroke="#FF222933"
RadiusX="3"
RadiusY="3"
MouseDown="DragAndMove"/>
<Rectangle Grid.Column="1"
Grid.ColumnSpan="3"
Grid.Row="1"
Grid.RowSpan="3"
Fill="#FF2E3440"
Stroke="#FF222933"
RadiusX="3"
RadiusY="3"/>
<DockPanel Grid.Column="4"
Grid.Row="0"
Grid.RowSpan="5"
MouseDown="DragAndMove"
Background="#00000000">
<Button x:Name="close_button"
HorizontalAlignment="Center"
VerticalAlignment="Top"
DockPanel.Dock="Top"
Background="Transparent"
BorderBrush="Transparent"
Foreground="Transparent"
Width="12"
Height="12"
RenderTransformOrigin="0.5,0.5"
Click="CloseWindow"
Margin="0,7,0,0">
<Button.Style>
<Style TargetType="{x:Type Button}">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type Button}">
<Grid Background="{TemplateBinding Background}">
<ContentPresenter HorizontalAlignment="Center"
VerticalAlignment="Center" />
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</Button.Style>
<Button.RenderTransform>
<TransformGroup>
<RotateTransform Angle="45" />
</TransformGroup>
</Button.RenderTransform>
<Canvas HorizontalAlignment="Center"
VerticalAlignment="Center"
Width="12"
Height="12">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="1" />
<ColumnDefinition Width="1" />
<ColumnDefinition Width="1" />
<ColumnDefinition Width="1" />
<ColumnDefinition Width="1" />
<ColumnDefinition Width="1" />
<ColumnDefinition Width="1" />
<ColumnDefinition Width="1" />
<ColumnDefinition Width="1" />
<ColumnDefinition Width="1" />
<ColumnDefinition Width="1" />
<ColumnDefinition Width="1" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="1" />
<RowDefinition Height="1" />
<RowDefinition Height="1" />
<RowDefinition Height="1" />
<RowDefinition Height="1" />
<RowDefinition Height="1" />
<RowDefinition Height="1" />
<RowDefinition Height="1" />
<RowDefinition Height="1" />
<RowDefinition Height="1" />
<RowDefinition Height="1" />
<RowDefinition Height="1" />
</Grid.RowDefinitions>
<Rectangle Grid.Column="0"
Grid.ColumnSpan="12"
Grid.Row="5"
Grid.RowSpan="2"
Fill="#bec0c5"
RadiusX="1"
RadiusY="1" />
<Rectangle Grid.Column="5"
Grid.ColumnSpan="2"
Grid.Row="0"
Grid.RowSpan="12"
Fill="#bec0c5"
RadiusX="1"
RadiusY="1" />
</Grid>
</Canvas>
</Button>
<Image VerticalAlignment="Bottom"
x:Name="image"
Margin="0,0,1,2"
DockPanel.Dock="Bottom"
Width="16"
Height="16"/>
<TextBlock x:Name="text_block"
DockPanel.Dock="Bottom"
VerticalAlignment="Bottom"
RenderTransformOrigin="0.5,0.5"
HorizontalAlignment="Center"
Foreground="#bec0c5"
Margin="2,0,0,10"
TextOptions.TextFormattingMode="Display"
FontFamily="Segoe UI">
<TextBlock.LayoutTransform>
<RotateTransform Angle="270" />
</TextBlock.LayoutTransform>
</TextBlock>
</DockPanel>
<Grid Grid.Column="2"
Grid.ColumnSpan="1"
Grid.Row="2"
Grid.RowSpan="1"
x:Name="host_grid"
Background="White">
</Grid>
</Grid>
</Window>