| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 | <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"                    xmlns:ui="clr-namespace:CyberX8_Themes.CustomControls"                    xmlns:local="CyberX8_Themes.Style">    <Style TargetType="{x:Type Window}" x:Key="ShellWindow">        <Setter Property="Background" Value="#2B5A97"></Setter>        <Setter Property="WindowStyle" Value="None"></Setter>        <Setter Property="AllowsTransparency" Value="False"></Setter>        <Setter Property="Template" >            <Setter.Value>                <ControlTemplate TargetType="Window">                    <Border BorderBrush="#333" BorderThickness="1" Background="#eee">                        <Grid>                            <Grid.RowDefinitions>                                <RowDefinition Height="25"></RowDefinition>                                <RowDefinition Height="*"></RowDefinition>                            </Grid.RowDefinitions>                            <ui:WindowTopArea Background="#1E7FC3">                                <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">                                    <StackPanel Orientation="Horizontal" Margin="5" HorizontalAlignment="Left" VerticalAlignment="Center">                                        <Path Data="{StaticResource Icon_Auto}" Stretch="Fill" Stroke="White" Width="12" Height="12"></Path>                                        <TextBlock Text="{TemplateBinding Title}" Foreground="White" Margin="5 2" HorizontalAlignment="Center" VerticalAlignment="Center" FontFamily="12"></TextBlock>                                    </StackPanel>                                    <StackPanel Orientation="Horizontal" HorizontalAlignment="Right">                                        <ui:WindowButtonMin Background="Transparent" BorderThickness="0">                                            <TextBlock Text="➖" Foreground="White"  Width="16" Height="16"/>                                        </ui:WindowButtonMin>                                        <ui:WindowButtonClose>                                            <TextBlock Text="✖" Foreground="White"  Width="16" Height="16"/>                                        </ui:WindowButtonClose>                                    </StackPanel>                                </Grid>                            </ui:WindowTopArea>                            <AdornerDecorator Grid.Row="1">                                <ContentPresenter></ContentPresenter>                            </AdornerDecorator>                        </Grid>                    </Border>                </ControlTemplate>            </Setter.Value>        </Setter>    </Style></ResourceDictionary>
 |