2026-06-05 13:44:39 +09:00

65 lines
3.4 KiB
XML

<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:view="clr-namespace:Aurora.View;assembly=Aurora"
xmlns:uiControls="clr-namespace:AuroraUIComponent.UserControls;assembly=AuroraUIComponent">
<ResourceDictionary.MergedDictionaries>
<view:SharedResourceDictionary Source="VisionStyles.xaml"/>
<view:SharedResourceDictionary Source="GroupBox.xaml"/>
<view:SharedResourceDictionary Source="TabControl.xaml"/>
<view:SharedResourceDictionary Source="ComboBox.xaml"/>
<view:SharedResourceDictionary Source="ImageStyles.xaml"/>
<view:SharedResourceDictionary Source="RadioButtonStyles.xaml"/>
<view:SharedResourceDictionary Source="TextBlockStyles.xaml"/>
</ResourceDictionary.MergedDictionaries>
<Style
TargetType="{x:Type Button}"
BasedOn="{StaticResource MahApps.Styles.Button.Aurora}"/>
<Style
TargetType="{x:Type DataGrid}"
BasedOn="{StaticResource MahApps.Styles.DataGrid.Aurora}"/>
<Style TargetType="DataGridColumnHeader"
BasedOn="{StaticResource MahApps.Styles.DataGridColumnHeader.Aurora}">
<Setter Property="HorizontalContentAlignment" Value="Center"/>
</Style>
<Style TargetType="DataGridCell"
BasedOn="{StaticResource MahApps.Styles.DataGridCell.Aurora}">
<Setter Property="Padding" Value="4 0"/>
</Style>
<VisualBrush x:Key="MyBrush" Stretch="None" TileMode="Tile" Viewport="0,0,50,50" ViewportUnits="Absolute" Viewbox="0,0,50,50" ViewboxUnits="Absolute">
<VisualBrush.Visual>
<Grid>
<Path Data="M 0 50 L 0 0" Stroke="Red" />
<Path Data="M 50 0 L 0 0" Stroke="Red" />
</Grid>
</VisualBrush.Visual>
</VisualBrush>
<Style TargetType="uiControls:UCKeyContentView">
<Setter Property="KeyTextBgColor" Value="DarkRed"/>
<Setter Property="KeyTextFgColor" Value="White"/>
<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>