2026-01-26 18:56:53 +09:00

30 lines
2.0 KiB
XML

<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mah ="http://metro.mahapps.com/winfx/xaml/controls">
<!-- Initialize -->
<!-- Custom Style -->
<!--ToggleButton-->
<Style x:Key="styleToggleBtnBlue" TargetType="{x:Type ToggleButton}" BasedOn="{StaticResource defaultToggleButton}">
<Setter Property="BorderBrush" Value="{DynamicResource ACBlueSemiLight}" />
<Setter Property="Foreground" Value="{DynamicResource AuroraVision.Brushes.ToggleButton.Foreground}" />
<Setter Property="Background" Value="{DynamicResource AuroraVision.Brushes.ToggleButton.Background}" />
<Setter Property="FontSize" Value="11"/>
<Setter Property="mah:ControlsHelper.CornerRadius" Value="8"/>
<Style.Triggers>
<!-- Enable 또는 Check 상태일 때 색상 : 버튼별로 차이 -->
<Trigger Property="IsChecked" Value="True">
<Setter Property="Background" Value="{DynamicResource AuroraVision.Brushes.ToggleButton.IsChecked.Background}" />
<Setter Property="Foreground" Value="{DynamicResource AuroraVision.Brushes.ToggleButton.IsChecked.Foreground}"/>
</Trigger>
<Trigger Property="IsMouseOver" Value="True">
<Setter Property="Background" Value="{DynamicResource AuroraVision.Brushes.ToggleButton.IsMouseOver.Background}" />
<Setter Property="Foreground" Value="{DynamicResource AuroraVision.Brushes.ToggleButton.IsMouseOver.Foreground}"/>
</Trigger>
<Trigger Property="IsPressed" Value="True">
<Setter Property="Background" Value="{DynamicResource AuroraVision.Brushes.ToggleButton.IsPressed.Background}" />
<Setter Property="Foreground" Value="{DynamicResource AuroraVision.Brushes.ToggleButton.IsPressed.Foreground}"/>
</Trigger>
</Style.Triggers>
</Style>
</ResourceDictionary>