lab-4
This commit is contained in:
parent
69969701cd
commit
7d2e133f10
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user