整理控件库

This commit is contained in:
GG Z
2025-05-05 17:04:06 +08:00
parent 74532b77be
commit 3eaad7566e
283 changed files with 2156 additions and 17846 deletions

View File

@@ -940,11 +940,11 @@
<Setter Property="ContextMenu" Value="{DynamicResource DefaultControlContextMenu}" />
<Setter Property="Foreground" Value="{DynamicResource TextControlForeground}" />
<Setter Property="Background" Value="Transparent" />
<Setter Property="FontSize" Value="{DynamicResource ControlContentThemeFontSize}" />
<Setter Property="FontSize" Value="{StaticResource ControlContentThemeFontSize}" />
<Setter Property="HorizontalAlignment" Value="Stretch" />
<Setter Property="VerticalAlignment" Value="Center" />
<Setter Property="MinHeight" Value="{DynamicResource TextControlThemeMinHeight}" />
<Setter Property="MinWidth" Value="{DynamicResource TextControlThemeMinWidth}" />
<Setter Property="MinHeight" Value="{StaticResource TextControlThemeMinHeight}" />
<Setter Property="MinWidth" Value="{StaticResource TextControlThemeMinWidth}" />
<Setter Property="Margin" Value="0,0,11,0" />
<Setter Property="Padding" Value="13,10,2,8" />
<Setter Property="SnapsToDevicePixels" Value="True" />

View File

@@ -5,10 +5,6 @@
xmlns:converters="clr-namespace:WPFluent.Converters"
xmlns:system="clr-namespace:System;assembly=mscorlib">
<!--
https://github.com/CommunityToolkit/WindowsCommunityToolkit/blob/main/Microsoft.Toolkit.Uwp.UI.Controls.DataGrid/DataGrid/DataGrid.xaml
-->
<!-- TODO -->
<BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter" />
<system:Double x:Key="DefaultDataGridFontSize">14</system:Double>
@@ -743,8 +739,6 @@
</Style.Triggers>
</Style>
<Color x:Key="FallbackColor">#FFFF0000</Color>
<Thickness x:Key="CheckBoxPadding">11,5,11,6</Thickness>
<Thickness x:Key="CheckBoxBorderThemeThickness">1</Thickness>
<Thickness x:Key="CheckBoxContentMargin">8,0,0,0</Thickness>