mirror of
http://git.xinwangdao.com/cnnc-embedded-parts-detect/detect.git
synced 2025-06-24 13:34:13 +08:00
45 lines
2.2 KiB
XML
45 lines
2.2 KiB
XML
<Styles xmlns="https://github.com/avaloniaui"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
|
<Style Selector="ToolTip">
|
|
<Setter Property="FontFamily" Value="{StaticResource Font-Family}" />
|
|
<Setter Property="FontSize" Value="12" />
|
|
<Setter Property="Foreground" Value="#FFFFFF" />
|
|
<Setter Property="Background">
|
|
<Setter.Value>
|
|
<SolidColorBrush Color="#2D77F3" Opacity="0.4" />
|
|
</Setter.Value>
|
|
</Setter>
|
|
<Setter Property="CornerRadius" Value="6" />
|
|
<Setter Property="BorderThickness" Value="1" />
|
|
<Setter Property="BorderBrush">
|
|
<Setter.Value>
|
|
<SolidColorBrush Color="#2D77F3" Opacity="0.6" />
|
|
</Setter.Value>
|
|
</Setter>
|
|
<Setter Property="Template">
|
|
<ControlTemplate>
|
|
<Border Name="PART_LayoutRoot"
|
|
BorderThickness="{TemplateBinding BorderThickness}"
|
|
Background="{TemplateBinding Background}"
|
|
BorderBrush="{TemplateBinding BorderBrush}"
|
|
Padding="{TemplateBinding Padding}"
|
|
CornerRadius="{TemplateBinding CornerRadius}">
|
|
<ContentPresenter Name="PART_ContentPresenter"
|
|
MaxWidth="{TemplateBinding MaxWidth}"
|
|
Content="{TemplateBinding Content}"
|
|
ContentTemplate="{TemplateBinding ContentTemplate}"
|
|
TextBlock.TextWrapping="Wrap" >
|
|
<ContentPresenter.Styles>
|
|
<Style Selector="TextBlock">
|
|
<Setter Property="FontSize" Value="12" />
|
|
<Setter Property="Foreground" Value="#ffffff" />
|
|
<Setter Property="FontFamily" Value="{StaticResource Font-Family}" />
|
|
</Style>
|
|
</ContentPresenter.Styles>
|
|
</ContentPresenter>
|
|
</Border>
|
|
</ControlTemplate>
|
|
</Setter>
|
|
</Style>
|
|
</Styles>
|