| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 | <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"                    xmlns:ui="clr-namespace:Venus_Themes.CustomControls"                    xmlns:local="Venus_Themes.Style">    <Style TargetType="{x:Type Window}" x:Key="ShellWindow">        <Setter Property="Background" Value="White"></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="White">                                <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">                                    <StackPanel Orientation="Horizontal" Margin="5" HorizontalAlignment="Left" VerticalAlignment="Center">                                        <Path Data="{StaticResource Icon_Auto}" Stretch="Fill" Stroke="Gray" Width="12" Height="12"></Path>                                        <TextBlock Text="{TemplateBinding Title}" Foreground="Gray" 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="Silver"  Width="16" Height="16"/>                                        </ui:WindowButtonMin>                                        <ui:WindowButtonClose>                                            <TextBlock Text="✖" Foreground="Silver"  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>
 |