This commit is contained in:
Baryshev Dmitry 2024-10-10 16:00:20 +04:00
parent a7a32b4529
commit 58146ac23a

View File

@ -8,13 +8,14 @@
Title="Барышев Дмитрий ПИбд-23" MinHeight="400" MinWidth="600" MaxHeight="400" MaxWidth="600">
<Window.Resources>
<SolidColorBrush x:Key="BorderColor" Color="#7F00FF"/>
<Style TargetType="Button">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="Button">
<Border BorderBrush="{DynamicResource {x:Static SystemColors.MenuBarBrushKey}}" BorderThickness="2" CornerRadius="5">
<Border BorderBrush="{StaticResource BorderColor}" BorderThickness="2" CornerRadius="5">
<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center"/>
</Border>
</ControlTemplate>