2026-01-26 14:51:28 +09:00

38 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:uiControls="clr-namespace:AuroraUIComponent.UserControls;assembly=AuroraUIComponent"
>
<!-- Initialize -->
<Style TargetType="uiControls:UCKeyContentView">
<Setter Property="KeyTextBgColor" Value="{DynamicResource Aurora.Brushes.Accent}"/>
<Setter Property="KeyTextFgColor" Value="{DynamicResource AuroraVision.Brushes.UCContentView.Foreground}"/>
<Setter Property="KeyTextIsMouseOverBgColor" Value="{DynamicResource MahApps.Brushes.BackgroundHighlighted}"/>
<Setter Property="KeyTextCheckedBgColor" Value="LightGray"/>
<Setter Property="UseFoldingButton" Value="True"/>
<!--<Setter Property="FoldingBtnStyle">
<Setter.Value>
<Style TargetType="{x:Type ToggleButton}">
<Setter Property="Focusable" Value="False"/>
<Setter Property="Width" Value="30"/>
<Setter Property="Height" Value="30"/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type ToggleButton}">
<Border Background="Transparent" Height="30" Width="30">
<Image x:Name="PART_Image" RenderOptions.BitmapScalingMode="HighQuality"
Source="{Binding ImageSource}"/>
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</Setter.Value>
</Setter>-->
<Setter Property="FoldingBtnMargin" Value="1,0"/>
<Setter Property="FoldingBtnWidth" Value="26"/>
<Setter Property="FoldingBtnHeight" Value="16"/>
<Setter Property="FoldingBtnStyle" Value="{StaticResource ExpandCollapseToggleStyle}"/>
</Style>
</ResourceDictionary>