mirror of
http://git.xinwangdao.com/cnnc-embedded-parts-detect/detect.git
synced 2025-06-25 05:54:14 +08:00
35 lines
1.8 KiB
XML
35 lines
1.8 KiB
XML
<Styles xmlns="https://github.com/avaloniaui"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
|
|
|
<!-- FlyoutPresenter -->
|
|
<Style Selector="FlyoutPresenter.image">
|
|
<Setter Property="Background" Value="{StaticResource Light}" />
|
|
<Setter Property="CornerRadius" Value="0" />
|
|
<Setter Property="MinWidth" Value="440" />
|
|
<Setter Property="MinHeight" Value="200" />
|
|
<Setter Property="MaxWidth" Value="1020" />
|
|
<Setter Property="MaxHeight" Value="680" />
|
|
<Setter Property="Template">
|
|
<ControlTemplate>
|
|
<Border Name="LayoutRoot"
|
|
Margin="15"
|
|
Background="{TemplateBinding Background}"
|
|
Padding="{DynamicResource FlyoutBorderThemePadding}"
|
|
CornerRadius="{TemplateBinding CornerRadius}">
|
|
<Border BorderBrush="{StaticResource Light-Gray}"
|
|
BorderThickness="1"
|
|
BoxShadow="{StaticResource DialogShadows}">
|
|
<ContentPresenter Content="{TemplateBinding Content}"
|
|
ContentTemplate="{TemplateBinding ContentTemplate}"
|
|
Margin="{TemplateBinding Padding}"
|
|
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
|
|
VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
|
|
HorizontalContentAlignment="Stretch"
|
|
VerticalContentAlignment="Stretch" />
|
|
</Border>
|
|
</Border>
|
|
</ControlTemplate>
|
|
</Setter>
|
|
</Style>
|
|
</Styles>
|