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

@@ -0,0 +1,34 @@
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:controls="clr-namespace:WPFDark.Controls"
xmlns:wpf="clr-namespace:WPFDark">
<Style TargetType="{x:Type ToolTip}">
<Setter Property="FontFamily" Value="{DynamicResource WPFDarkFontFamily}" />
<Setter Property="FontSize" Value="13" />
<Setter Property="TextOptions.TextRenderingMode" Value="Auto" />
<Setter Property="TextOptions.TextFormattingMode" Value="Ideal" />
<Setter Property="TextOptions.TextHintingMode" Value="Animated" />
<Setter Property="VerticalOffset" Value="-48" />
<Setter Property="OverridesDefaultStyle" Value="True" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type ToolTip}">
<controls:BiaClippingBorder Margin="0,0,8,8"
Background="{DynamicResource PanelBackgroundBrushKey}"
BorderBrush="{DynamicResource TextBoxBorderBrushKey}"
BorderThickness="1">
<ContentPresenter Margin="8,4"
HorizontalAlignment="Left"
VerticalAlignment="Top" />
<Border.Effect>
<DropShadowEffect ShadowDepth="2.0" Color="Black" />
</Border.Effect>
</controls:BiaClippingBorder>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</ResourceDictionary>