This commit is contained in:
Zakharov_Rostislav 2024-04-24 11:23:40 +04:00
parent 69969701cd
commit 7d2e133f10

View File

@ -6,6 +6,22 @@
xmlns:local="clr-namespace:Interfaces"
mc:Ignorable="d"
Title="SoundBox" Height="450" Width="800">
<Window.Resources>
<SolidColorBrush x:Key="ButtonBackgroundColor" Color="Bisque" />
<Style TargetType="Button">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="Button">
<Border BorderBrush="Maroon" BorderThickness="2"
Background="{StaticResource ButtonBackgroundColor}">
<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center"/>
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
<Setter Property="Margin" Value="5,5,5,5" />
</Style>
</Window.Resources>
<Grid ShowGridLines="True">
<Grid.RowDefinitions>
<RowDefinition Height="*"></RowDefinition>