<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>
