61 lines
4.5 KiB
XML
61 lines
4.5 KiB
XML
<controls:Window x:Class="HandyControlDemo.Window.CustomNonClientAreaWindow"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:langs="clr-namespace:HandyControlDemo.Properties.Langs"
|
|
xmlns:controls="clr-namespace:HandyControl.Controls;assembly=HandyControl"
|
|
mc:Ignorable="d"
|
|
OtherButtonForeground="{DynamicResource ReverseTextBrush}"
|
|
CloseButtonForeground="{DynamicResource ReverseTextBrush}"
|
|
OtherButtonHoverBackground="{DynamicResource ReverseTextBrush}"
|
|
NonClientAreaBackground="{DynamicResource ToolBarBackground}"
|
|
NonClientAreaHeight="69"
|
|
Background="{DynamicResource MainContentBackgroundBrush}"
|
|
WindowStartupLocation="CenterScreen"
|
|
Style="{StaticResource WindowWin10}"
|
|
Title="{x:Static langs:Lang.Title}"
|
|
Height="450"
|
|
Width="800">
|
|
<controls:Window.NonClientAreaContent>
|
|
<StackPanel Orientation="Horizontal" Height="69">
|
|
<Path Data="{StaticResource LogoGeometry}" Width="40" Height="40" Stretch="Uniform" Fill="#F76B1C" Margin="20,0,0,0"></Path>
|
|
<Button Style="{StaticResource ButtonCustom}" Margin="32,0,0,0">
|
|
<Border Width="30" Height="30" BorderThickness="1" CornerRadius="6" BorderBrush="#B7B5B7" Background="{StaticResource MenuButtonBorderBrush}">
|
|
<Path Margin="5" Fill="#ED41FF" Stretch="Uniform" Data="{StaticResource ErrorGeometry}"></Path>
|
|
</Border>
|
|
</Button>
|
|
<Button Style="{StaticResource ButtonCustom}" Margin="10,0,0,0">
|
|
<Border Width="30" Height="30" BorderThickness="1" CornerRadius="6" BorderBrush="#B7B5B7" Background="{DynamicResource MenuButtonBorderBrush}">
|
|
<Path Margin="6" Fill="#ED41FF" Stretch="Uniform" Data="{StaticResource AskGeometry}"></Path>
|
|
</Border>
|
|
</Button>
|
|
<Button Style="{StaticResource ButtonCustom}" Margin="10,0,0,0">
|
|
<Border Width="30" Height="30" BorderThickness="1" CornerRadius="6" BorderBrush="#B7B5B7" Background="{DynamicResource MenuButtonBorderBrush}">
|
|
<Path Margin="6" Fill="#ED41FF" Stretch="Uniform" Data="{StaticResource InfoGeometry}"></Path>
|
|
</Border>
|
|
</Button>
|
|
<Button Style="{StaticResource ButtonCustom}" Margin="32,0,0,0">
|
|
<Border Width="30" Height="30" BorderThickness="1" CornerRadius="6" BorderBrush="#B7B5B7" Background="{DynamicResource MenuButtonBorderBrush}">
|
|
<Path Margin="5" Fill="#8EC915" Stretch="Uniform" Data="{StaticResource ErrorGeometry}"></Path>
|
|
</Border>
|
|
</Button>
|
|
<Button Style="{StaticResource ButtonCustom}" Margin="10,0,0,0">
|
|
<Border Width="30" Height="30" BorderThickness="1" CornerRadius="6" BorderBrush="#B7B5B7" Background="{DynamicResource MenuButtonBorderBrush}">
|
|
<Path Margin="6" Fill="#8EC915" Stretch="Uniform" Data="{StaticResource AskGeometry}"></Path>
|
|
</Border>
|
|
</Button>
|
|
<Button Style="{StaticResource ButtonCustom}" Margin="10,0,0,0">
|
|
<Border Width="30" Height="30" BorderThickness="1" CornerRadius="6" BorderBrush="#B7B5B7" Background="{DynamicResource MenuButtonBorderBrush}">
|
|
<Path Margin="6" Fill="#8EC915" Stretch="Uniform" Data="{StaticResource AllGeometry}"></Path>
|
|
</Border>
|
|
</Button>
|
|
<Button Style="{StaticResource ButtonCustom}" Margin="10,0,0,0">
|
|
<Border Width="30" Height="30" BorderThickness="1" CornerRadius="6" BorderBrush="#B7B5B7" Background="{DynamicResource MenuButtonBorderBrush}">
|
|
<Path Margin="6" Fill="#8EC915" Stretch="Uniform" Data="{StaticResource InfoGeometry}"></Path>
|
|
</Border>
|
|
</Button>
|
|
</StackPanel>
|
|
</controls:Window.NonClientAreaContent>
|
|
<Border Background="{DynamicResource MainContentForegroundDrawingBrush}"/>
|
|
</controls:Window> |