-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathEssantialWindowsButtons.xaml
29 lines (27 loc) · 1.41 KB
/
EssantialWindowsButtons.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<UserControl x:Class="PL.Theme.EssentialWindowsButtons"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:PL.Theme"
mc:Ignorable="d"
d:DesignHeight="25" d:DesignWidth="50">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Button x:Name="CloseButton" Grid.Column="0" Width="15" Height="15"
VerticalAlignment="Center" HorizontalAlignment="Center"
Style="{StaticResource MacButtonStyle}" Background="Red"
Click="CloseButton_Click">
<TextBlock x:Name="CloseSymbol" Text="✕" FontSize="8" FontWeight="Bold"/>
</Button>
<Button x:Name="MinimizeButton" Grid.Column="1" Width="15" Height="15"
VerticalAlignment="Center" HorizontalAlignment="Center"
Style="{StaticResource MacButtonStyle}" Background="Orange"
Click="MinimizeButton_Click">
<TextBlock x:Name="MinimizeSymbol" Text="🗕" FontSize="8" FontWeight="Bold"/>
</Button>
</Grid>
</UserControl>