This commit is contained in:
ShrlAlgo
2025-07-11 09:20:23 +08:00
parent c7b104f44f
commit 4d35cadb56
840 changed files with 102347 additions and 11595 deletions

View File

@@ -1,49 +1,42 @@
<!--
This Source Code Form is subject to the terms of the MIT License.
If a copy of the MIT was not distributed with this file, You can obtain one at https://opensource.org/licenses/MIT.
Copyright (C) Leszek Pomianowski and WPF UI Contributors.
All Rights Reserved.
-->
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Style x:Key="DefaultToolTipStyle" TargetType="{x:Type ToolTip}">
<Style TargetType="{x:Type ToolTip}" x:Key="DefaultToolTipStyle">
<Setter Property="MaxWidth" Value="600" />
<Setter Property="Height" Value="Auto" />
<Setter Property="Width" Value="Auto" />
<Setter Property="TextElement.FontSize" Value="12" />
<Setter Property="TextBlock.TextAlignment" Value="Justify" />
<Setter Property="TextElement.Foreground" Value="{DynamicResource ToolTipForeground}" />
<Setter Property="Foreground" Value="{DynamicResource ToolTipForeground}" />
<Setter Property="Background" Value="{DynamicResource ToolTipBackground}" />
<Setter Property="BorderBrush" Value="{DynamicResource ToolTipBorderBrush}" />
<Setter Property="TextElement.Foreground" Value="{DynamicResource TextFillColorPrimaryBrush}" />
<Setter Property="Foreground" Value="{DynamicResource TextFillColorPrimaryBrush}" />
<Setter Property="Background" Value="{DynamicResource AcrylicBackgroundFillColorDefaultBrush}" />
<Setter Property="BorderBrush" Value="{DynamicResource SurfaceStrokeColorFlyoutBrush}" />
<Setter Property="SnapsToDevicePixels" Value="True" />
<Setter Property="OverridesDefaultStyle" Value="True" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="ToolTip">
<Border
Name="Border"
Width="{TemplateBinding Width}"
Height="{TemplateBinding Height}"
MaxWidth="{TemplateBinding MaxWidth}"
Padding="8"
Background="{TemplateBinding Background}"
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="1"
CornerRadius="4"
SnapsToDevicePixels="True">
Height="{TemplateBinding Height}"
MaxWidth="{TemplateBinding MaxWidth}"
Name="Border"
Padding="8"
SnapsToDevicePixels="True"
Width="{TemplateBinding Width}">
<Border.Effect>
<DropShadowEffect
BlurRadius="30"
Color="#202020"
Direction="0"
Opacity="0.4"
ShadowDepth="0"
Color="#202020" />
ShadowDepth="0" />
</Border.Effect>
<ContentPresenter
Margin="4"
HorizontalAlignment="Left"
Margin="4"
VerticalAlignment="Top">
<ContentPresenter.Resources>
<Style TargetType="{x:Type TextBlock}">