563 lines
30 KiB
XML
563 lines
30 KiB
XML
<ResourceDictionary
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
|
|
|
<Style x:Key="StGroupBorder" TargetType="Border">
|
|
<Setter Property="Background" Value="#1e1e1e"/>
|
|
<Setter Property="BorderBrush" Value="#333333"/>
|
|
<Setter Property="BorderThickness" Value="1 1 2 2"/>
|
|
<Setter Property="CornerRadius" Value="1"/>
|
|
</Style>
|
|
|
|
<Style TargetType="GroupBox">
|
|
<Setter Property="OverridesDefaultStyle" Value="True"/>
|
|
<Setter Property="Background" Value="#1e1e1e"/>
|
|
<Setter Property="BorderBrush" Value="#0b0b0b"/>
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="GroupBox">
|
|
<Border Grid.Row="0" Style="{StaticResource StGroupBorder}" BorderBrush="{TemplateBinding BorderBrush}" Background="{TemplateBinding Background}">
|
|
<Grid Margin="5">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="*"/>
|
|
</Grid.RowDefinitions>
|
|
<ContentPresenter ContentSource="Header" HorizontalAlignment="Right" RecognizesAccessKey="True"
|
|
Margin="10 3" TextBlock.FontSize="11">
|
|
<ContentPresenter.Resources>
|
|
<Style TargetType="{x:Type TextBlock}">
|
|
<Setter Property="Foreground" Value="#78b8eb"/>
|
|
<Setter Property="FontWeight" Value="Bold"/>
|
|
</Style>
|
|
</ContentPresenter.Resources>
|
|
</ContentPresenter>
|
|
<ContentPresenter Margin="4" Grid.Row="1" />
|
|
</Grid>
|
|
</Border>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
<Style x:Key="StTitleBorder" TargetType="Border" BasedOn="{StaticResource StGroupBorder}">
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
<Setter Property="HorizontalAlignment" Value="Stretch"/>
|
|
</Style>
|
|
|
|
<Style x:Key="StGroupBoxHeader" TargetType="TextBlock">
|
|
<Setter Property="OverridesDefaultStyle" Value="True"/>
|
|
<Setter Property="Foreground" Value="#78b8eb"/>
|
|
<Setter Property="FontWeight" Value="Bold"/>
|
|
<Setter Property="FontSize" Value="11"/>
|
|
<Setter Property="Margin" Value="0 0 0 2"/>
|
|
</Style>
|
|
|
|
<Style x:Key="StGroupBox2ndHeader" TargetType="TextBlock">
|
|
<Setter Property="Foreground" Value="#2196F3"/>
|
|
<Setter Property="FontWeight" Value="Bold"/>
|
|
</Style>
|
|
|
|
<Style x:Key="StGroupBox3rdHeader" TargetType="TextBlock">
|
|
<Setter Property="Foreground" Value="#a4d4f5"/>
|
|
<Setter Property="FontWeight" Value="Bold"/>
|
|
</Style>
|
|
|
|
<Style TargetType="{x:Type GroupBox}" x:Key="StGroupBox">
|
|
<Setter Property="Background" Value="#1A1A1A"/>
|
|
<Setter Property="BorderBrush" Value="#3a3a3a"/>
|
|
<Setter Property="BorderThickness" Value="0"/>
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="GroupBox">
|
|
<Border Grid.Row="0" Style="{StaticResource StGroupBorder}" Background="{TemplateBinding Background}"
|
|
BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="2">
|
|
<Grid Margin="2">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="*"/>
|
|
</Grid.RowDefinitions>
|
|
<ContentPresenter ContentSource="Header" RecognizesAccessKey="True"
|
|
Margin="10 3" HorizontalAlignment="Stretch"
|
|
TextBlock.FontSize="13">
|
|
<ContentPresenter.Resources>
|
|
<Style TargetType="{x:Type TextBlock}">
|
|
<Setter Property="Foreground" Value="#4a8ac1"/>
|
|
<Setter Property="FontWeight" Value="Bold"/>
|
|
</Style>
|
|
</ContentPresenter.Resources>
|
|
</ContentPresenter>
|
|
<ContentPresenter Margin="2 3" Grid.Row="1" />
|
|
</Grid>
|
|
</Border>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
<Style TargetType="{x:Type GroupBox}" x:Key="StGroupBox2nd" BasedOn="{StaticResource StGroupBox}">
|
|
<Setter Property="Background" Value="#2a2a2a"/>
|
|
<Setter Property="BorderBrush" Value="#5a5a5a"/>
|
|
<Setter Property="BorderThickness" Value="0"/>
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="GroupBox">
|
|
<Border Grid.Row="0" Style="{StaticResource StGroupBorder}" Background="{TemplateBinding Background}"
|
|
BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="2">
|
|
<Grid Margin="2">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="*"/>
|
|
</Grid.RowDefinitions>
|
|
<ContentPresenter ContentSource="Header" RecognizesAccessKey="True"
|
|
Margin="10 3" HorizontalAlignment="Stretch"
|
|
TextBlock.FontSize="12">
|
|
<ContentPresenter.Resources>
|
|
<Style TargetType="{x:Type TextBlock}" BasedOn="{StaticResource StGroupBox2ndHeader}"/>
|
|
</ContentPresenter.Resources>
|
|
</ContentPresenter>
|
|
<ContentPresenter Margin="2 3" Grid.Row="1" />
|
|
</Grid>
|
|
</Border>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
<Style TargetType="GroupBox" x:Key="StGroupBox3rd" BasedOn="{StaticResource StGroupBox}">
|
|
<Setter Property="Background" Value="#3a3a3a"/>
|
|
<Setter Property="BorderBrush" Value="#7a7a7a"/>
|
|
<Setter Property="BorderThickness" Value="0"/>
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="GroupBox">
|
|
<Border Grid.Row="0" Style="{StaticResource StGroupBorder}" Background="{TemplateBinding Background}"
|
|
BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="2">
|
|
<Grid Margin="2">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="*"/>
|
|
</Grid.RowDefinitions>
|
|
<ContentPresenter ContentSource="Header" RecognizesAccessKey="True"
|
|
Margin="10 3" HorizontalAlignment="Stretch"
|
|
TextBlock.FontSize="11">
|
|
<ContentPresenter.Resources>
|
|
<Style TargetType="{x:Type TextBlock}" BasedOn="{StaticResource StGroupBox3rdHeader}"/>
|
|
</ContentPresenter.Resources>
|
|
</ContentPresenter>
|
|
<ContentPresenter Margin="2 3" Grid.Row="1" />
|
|
</Grid>
|
|
</Border>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
<Style TargetType="GroupBox" x:Key="StGroupBox4th">
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="GroupBox">
|
|
<Border Grid.Row="0" Style="{StaticResource StGroupBorder}" Background="#2a2a2a"
|
|
BorderThickness="1" CornerRadius="0">
|
|
<Grid Margin="2">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="*"/>
|
|
</Grid.RowDefinitions>
|
|
<ContentPresenter ContentSource="Header" HorizontalAlignment="Left" RecognizesAccessKey="True"
|
|
Margin="10 3"
|
|
TextBlock.FontSize="11">
|
|
<ContentPresenter.Resources>
|
|
<Style TargetType="{x:Type TextBlock}">
|
|
<Setter Property="Foreground" Value="#0a5ea1"/>
|
|
<Setter Property="FontWeight" Value="Bold"/>
|
|
</Style>
|
|
</ContentPresenter.Resources>
|
|
</ContentPresenter>
|
|
<ContentPresenter Margin="2 3" Grid.Row="1" />
|
|
</Grid>
|
|
</Border>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
<Style TargetType="{x:Type GroupBox}" x:Key="StGroupBoxOrange">
|
|
<Setter Property="BorderBrush" Value="DarkOrange"/>
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="GroupBox">
|
|
<Border Grid.Row="0" Style="{StaticResource StGroupBorder}" Background="{TemplateBinding Background}"
|
|
BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="2">
|
|
<Grid Margin="2">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="*"/>
|
|
</Grid.RowDefinitions>
|
|
<ContentPresenter ContentSource="Header" RecognizesAccessKey="True"
|
|
Margin="10 3" HorizontalAlignment="Stretch"
|
|
TextBlock.FontSize="11">
|
|
<ContentPresenter.Resources>
|
|
<Style TargetType="{x:Type TextBlock}">
|
|
<Setter Property="Foreground" Value="Orange"/>
|
|
<Setter Property="FontWeight" Value="Bold"/>
|
|
</Style>
|
|
</ContentPresenter.Resources>
|
|
</ContentPresenter>
|
|
<ContentPresenter Margin="2 3" Grid.Row="1" />
|
|
</Grid>
|
|
</Border>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
<Style TargetType="GroupBox" x:Key="StGroupPurpleHeader">
|
|
<Setter Property="Background" Value="#2a2a2a"/>
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="GroupBox">
|
|
<Border x:Name="abc" Grid.Row="0" Style="{StaticResource StGroupBorder}" Background="#3a2d49">
|
|
<Grid >
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="*"/>
|
|
</Grid.RowDefinitions>
|
|
<ContentPresenter ContentSource="Header" HorizontalAlignment="Stretch" RecognizesAccessKey="True"
|
|
Margin="10 5" TextBlock.FontWeight="Bold" TextBlock.Foreground="#cccccc"
|
|
TextBlock.FontSize="14"/>
|
|
<Border Grid.Row="1" Background="{TemplateBinding Background}">
|
|
<ContentPresenter Margin="4" Grid.Row="1" />
|
|
</Border>
|
|
</Grid>
|
|
</Border>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
<Style TargetType="GroupBox" x:Key="StGroupPurpleHeaderHorizontal">
|
|
<Setter Property="Background" Value="#2a2a2a"/>
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="GroupBox">
|
|
<Border x:Name="abc" Grid.Row="0" Style="{StaticResource StGroupBorder}" Background="#3a2d49">
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="auto"/>
|
|
<ColumnDefinition Width="1*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<ContentPresenter ContentSource="Header" HorizontalAlignment="Left" RecognizesAccessKey="True"
|
|
Margin="10 5" TextBlock.FontWeight="Bold" TextBlock.Foreground="#cccccc"
|
|
TextBlock.FontSize="14"/>
|
|
<Border Grid.Column="1" Background="{TemplateBinding Background}">
|
|
<ContentPresenter Margin="4" Grid.Row="1" />
|
|
</Border>
|
|
</Grid>
|
|
</Border>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
<Style TargetType="GroupBox" x:Key="StGBBlack">
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="GroupBox">
|
|
<Border x:Name="abc" Grid.Row="0" Style="{StaticResource StGroupBorder}" Background="#3a2d49">
|
|
<Grid >
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="*"/>
|
|
</Grid.RowDefinitions>
|
|
<ContentPresenter ContentSource="Header" HorizontalAlignment="Stretch" RecognizesAccessKey="True"
|
|
Margin="10 5" TextBlock.FontWeight="Bold" TextBlock.Foreground="#cccccc"
|
|
TextBlock.FontSize="14"/>
|
|
<Border Grid.Row="1" Background="{TemplateBinding Background}">
|
|
<ContentPresenter Margin="4" Grid.Row="1" />
|
|
</Border>
|
|
</Grid>
|
|
</Border>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
<Style TargetType="GroupBox" x:Key="StGBTabLike">
|
|
<Setter Property="BorderThickness" Value="0"/>
|
|
<Setter Property="BorderBrush" Value="Transparent"/>
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="GroupBox">
|
|
<Border x:Name="abc" Grid.Row="0" Style="{StaticResource StGroupBorder}" Background="Transparent">
|
|
<Grid >
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="*"/>
|
|
</Grid.RowDefinitions>
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="auto"/>
|
|
<ColumnDefinition Width="1*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Border Background="#A50034" CornerRadius="5,5,0,0" Width="auto">
|
|
<ContentPresenter ContentSource="Header" HorizontalAlignment="Stretch" RecognizesAccessKey="True"
|
|
Margin="10 2" TextBlock.Foreground="#cccccc"
|
|
TextBlock.FontSize="14"/>
|
|
</Border>
|
|
<GridSplitter Grid.ColumnSpan="2" Background="#A50034" Foreground="#A50034" Height="3" VerticalAlignment="Bottom"/>
|
|
</Grid>
|
|
<Border Grid.Row="1" Background="#2a2a2a">
|
|
<ContentPresenter Margin="4" Grid.Row="1" />
|
|
</Border>
|
|
</Grid>
|
|
</Border>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
<Style TargetType="GroupBox" x:Key="StGBMonitor">
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="GroupBox">
|
|
<Border Grid.Row="0" Style="{StaticResource StGroupBorder}" Background="#3a2d49">
|
|
<Grid Margin="5 5 5 0">
|
|
<ContentPresenter ContentSource="Header" RecognizesAccessKey="True" VerticalAlignment="Top"
|
|
Margin="10 0" TextBlock.FontWeight="Bold" TextBlock.Foreground="#bbbbbb"
|
|
TextBlock.FontSize="9"/>
|
|
|
|
<ContentPresenter Grid.Row="1" Margin="0 5 0 5" TextBlock.FontSize="24"/>
|
|
</Grid>
|
|
</Border>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
<Style TargetType="GroupBox" x:Key="StGroupRoundHeader">
|
|
<Setter Property="Background" Value="#3a3a3a"/>
|
|
<Setter Property="HorizontalAlignment" Value="Stretch"/>
|
|
<Setter Property="VerticalAlignment" Value="Stretch"/>
|
|
<Setter Property="BorderBrush" Value="#2a2a2a"/>
|
|
<Setter Property="BorderThickness" Value="1"/>
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="GroupBox">
|
|
<Border Grid.Row="0" Margin="5" Background="{TemplateBinding Background}" CornerRadius="5"
|
|
BorderThickness="{TemplateBinding BorderThickness}" BorderBrush="{TemplateBinding BorderBrush}">
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="auto"/>
|
|
<RowDefinition Height="2*"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<!-- Header -->
|
|
<Border Grid.Row="0"
|
|
Background="{TemplateBinding BorderBrush}"
|
|
CornerRadius="5,5,0,0" BorderThickness="0" Padding="14"/>
|
|
|
|
<ContentPresenter Grid.Row="0" ContentSource="Header" RecognizesAccessKey="True"
|
|
Margin="5" TextBlock.FontWeight="Bold" TextBlock.Foreground="#dddddd"
|
|
TextBlock.FontSize="12"
|
|
HorizontalAlignment="{TemplateBinding HorizontalAlignment}"
|
|
VerticalAlignment="{TemplateBinding VerticalAlignment}"/>
|
|
|
|
<!-- Content -->
|
|
<ContentPresenter Grid.Row="1" Margin="5"
|
|
HorizontalAlignment="{TemplateBinding HorizontalAlignment}"
|
|
VerticalAlignment="{TemplateBinding VerticalAlignment}"/>
|
|
</Grid>
|
|
</Border>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
<Style TargetType="GroupBox" x:Key="StGBContent">
|
|
<Setter Property="Background" Value="#21FFFFFF"/>
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="GroupBox">
|
|
<Border Grid.Row="0" Margin="5" Background="{TemplateBinding Background}" CornerRadius="5"
|
|
BorderThickness="{TemplateBinding BorderThickness}" BorderBrush="{TemplateBinding BorderBrush}">
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="auto"/>
|
|
<RowDefinition Height="2*"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<!-- Header -->
|
|
<Border Grid.Row="0"
|
|
Background="{TemplateBinding BorderBrush}"
|
|
CornerRadius="5,5,0,0" BorderThickness="0" Padding="14"/>
|
|
|
|
<ContentPresenter Grid.Row="0" ContentSource="Header" RecognizesAccessKey="True"
|
|
Margin="5" TextBlock.FontWeight="Bold" TextBlock.Foreground="#dddddd"
|
|
TextBlock.FontSize="12"
|
|
HorizontalAlignment="{TemplateBinding HorizontalAlignment}"
|
|
VerticalAlignment="{TemplateBinding VerticalAlignment}"/>
|
|
|
|
<!-- Content -->
|
|
<ContentPresenter Grid.Row="1" Margin="5"
|
|
HorizontalAlignment="{TemplateBinding HorizontalAlignment}"
|
|
VerticalAlignment="{TemplateBinding VerticalAlignment}"/>
|
|
</Grid>
|
|
</Border>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
<Style TargetType="GroupBox" x:Key="StGBContentNumericUpDown">
|
|
<Setter Property="Background" Value="#21FFFFFF"/>
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="GroupBox">
|
|
<Border Grid.Row="0" Margin="5" Background="{TemplateBinding Background}" CornerRadius="5">
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="*"/>
|
|
<RowDefinition Height="2*"/>
|
|
</Grid.RowDefinitions>
|
|
<Border Grid.Row="0" Background="{TemplateBinding Background}" CornerRadius="5,5,0,0" BorderThickness="0"/>
|
|
<ContentPresenter Grid.Row="0" ContentSource="Header" RecognizesAccessKey="True"
|
|
Margin="10 0" TextBlock.FontWeight="Bold" TextBlock.Foreground="#bbbbbb"
|
|
TextBlock.FontSize="12" HorizontalAlignment="Center" VerticalAlignment="Center"/>
|
|
|
|
<ContentPresenter Grid.Row="1" Margin="5" VerticalAlignment="Center"/>
|
|
</Grid>
|
|
</Border>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
<Style TargetType="GroupBox" x:Key="StGroupBoxNoMargin">
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="GroupBox">
|
|
<Border Grid.Row="0" Margin="0" Style="{StaticResource StGroupBorder}" Background="#1e1e1e">
|
|
<Grid Margin="5">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="*"/>
|
|
</Grid.RowDefinitions>
|
|
<ContentPresenter ContentSource="Header" HorizontalAlignment="Right" RecognizesAccessKey="True"
|
|
Margin="10 0" TextBlock.FontWeight="Bold" TextBlock.Foreground="#bb86fc"
|
|
TextBlock.FontSize="11"/>
|
|
<ContentPresenter Margin="4 4 4 0" Grid.Row="1" />
|
|
</Grid>
|
|
</Border>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
<Style TargetType="GroupBox" x:Key="StGroupBoxNoMargin2">
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="GroupBox">
|
|
<Border Grid.Row="0" Margin="0" Style="{StaticResource StGroupBorder}" Background="#1e1e1e">
|
|
<Grid Margin="5 5 5 0">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="*"/>
|
|
</Grid.RowDefinitions>
|
|
<ContentPresenter ContentSource="Header" HorizontalAlignment="Right" RecognizesAccessKey="True"
|
|
Margin="10 0" TextBlock.FontWeight="Bold" TextBlock.Foreground="#bb86fc"
|
|
TextBlock.FontSize="11"/>
|
|
<ContentPresenter Margin="4 4 4 0" Grid.Row="1" />
|
|
</Grid>
|
|
</Border>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
|
|
<!-- HeaderTemplate 정의 -->
|
|
<DataTemplate x:Key="GroupBoxHeaderTemplate">
|
|
<ContentPresenter Content="{Binding}">
|
|
<ContentPresenter.Resources>
|
|
<Style TargetType="TextBlock">
|
|
<Setter Property="FontSize" Value="12"/>
|
|
<Setter Property="FontWeight" Value="Bold"/>
|
|
</Style>
|
|
</ContentPresenter.Resources>
|
|
</ContentPresenter>
|
|
</DataTemplate>
|
|
|
|
<Style x:Key="StGroupBox21" TargetType="GroupBox">
|
|
<Setter Property="HeaderTemplate" Value="{StaticResource GroupBoxHeaderTemplate}"/>
|
|
<Setter Property="Background" Value="#262f3e"/>
|
|
<Setter Property="BorderThickness" Value="0"/>
|
|
<Setter Property="BorderBrush" Value="#141516"/>
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="GroupBox">
|
|
<Grid>
|
|
<Border Background="Black" Margin="0" CornerRadius="4" Padding="15" Grid.ColumnSpan="2">
|
|
<Border.Effect>
|
|
<DropShadowEffect BlurRadius="5" Direction="320" RenderingBias="Quality" ShadowDepth="8"/>
|
|
</Border.Effect>
|
|
</Border>
|
|
<Border Background="{TemplateBinding Background}" Margin="0" CornerRadius="4" Padding="1" Grid.ColumnSpan="2">
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition/>
|
|
</Grid.RowDefinitions>
|
|
<Border BorderBrush="{TemplateBinding BorderBrush}" Margin="0" Padding="11 0" MinHeight="36" BorderThickness="{TemplateBinding BorderThickness}">
|
|
<ContentPresenter ContentSource="Header" VerticalAlignment="Center"/>
|
|
</Border>
|
|
<ContentPresenter Grid.Row="1" Margin="10" />
|
|
</Grid>
|
|
</Border>
|
|
</Grid>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
<Style x:Key="StGroupBox22" TargetType="GroupBox" BasedOn="{StaticResource StGroupBox21}">
|
|
<Setter Property="Background" Value="#1c1c1d"/>
|
|
</Style>
|
|
|
|
<Style x:Key="StGroupBox23" TargetType="GroupBox" BasedOn="{StaticResource StGroupBox21}">
|
|
<Setter Property="Background" Value="#272b31"/>
|
|
</Style>
|
|
|
|
<Style x:Key="StGroupBox24" TargetType="GroupBox" BasedOn="{StaticResource StGroupBox21}">
|
|
<Setter Property="Background" Value="#3b4a5a"/>
|
|
</Style>
|
|
|
|
<Style x:Key="StGroupBox20" TargetType="GroupBox">
|
|
<Setter Property="HeaderTemplate" Value="{StaticResource GroupBoxHeaderTemplate}"/>
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="GroupBox">
|
|
<Border Background="#70282828" Margin="0 0 10 5" CornerRadius="8" Padding="1" Grid.ColumnSpan="2">
|
|
<Grid Margin="5">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition/>
|
|
</Grid.RowDefinitions>
|
|
<Border x:Name="HeaderContent" BorderBrush="Black" BorderThickness="0 0 0 0" Margin="0" Height="30" Padding="10 0">
|
|
<ContentPresenter ContentSource="Header" VerticalAlignment="Center"/>
|
|
</Border>
|
|
<ContentPresenter Grid.Row="1" Margin="10"/>
|
|
</Grid>
|
|
</Border>
|
|
<ControlTemplate.Triggers>
|
|
<Trigger Property="Header" Value="{x:Null}">
|
|
<Setter TargetName="HeaderContent" Property="Visibility" Value="Collapsed"/>
|
|
</Trigger>
|
|
<Trigger Property="Header" Value="">
|
|
<Setter TargetName="HeaderContent" Property="Visibility" Value="Collapsed"/>
|
|
</Trigger>
|
|
</ControlTemplate.Triggers>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
</ResourceDictionary> |