<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <Design.PreviewWith>
        <Border />
    </Design.PreviewWith>

    <ControlTheme x:Key="{x:Type Border}" TargetType="Border">

        <Setter Property="Button.Template">
            <ControlTemplate TargetType="Border">
                <ContentPresenter
                    x:Name="PART_ContentPresenter"
                    Padding="{TemplateBinding Padding}"
                    Background="{TemplateBinding Background}"
                    BorderBrush="{TemplateBinding BorderBrush}"
                    BorderThickness="{TemplateBinding BorderThickness}"
                    CornerRadius="{TemplateBinding CornerRadius}"
                    RecognizesAccessKey="True"
                    UseLayoutRounding="False" />
            </ControlTemplate>
        </Setter>
    </ControlTheme>
</ResourceDictionary>