<UserControl x:Class="WPFProject.Controls.MinInnerWindow"
|
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:WPFProject.Controls"
|
mc:Ignorable="d"
|
Height="30"
|
d:DesignHeight="450" d:DesignWidth="800">
|
<UserControl.Resources>
|
<ResourceDictionary>
|
<ResourceDictionary.MergedDictionaries>
|
<ResourceDictionary Source="/HMI.UI;component/Style/colors.xaml"/>
|
<ResourceDictionary Source="/HMI.UI;component/Style/WindowResources.xaml"/>
|
</ResourceDictionary.MergedDictionaries>
|
</ResourceDictionary>
|
</UserControl.Resources>
|
|
<StackPanel Background="{StaticResource SecondPrimaryColor}" Orientation="Horizontal">
|
<Label BorderBrush="{StaticResource PrimaryColor}" Foreground="#FFF" BorderThickness="2,0,0,0" VerticalContentAlignment="Center" ToolTip="{Binding Title}" Content="{Binding Title}"/>
|
<Button Style="{StaticResource ChildWindowButton}" Click="Max_Click" ></Button>
|
<Button Style="{StaticResource ChildWindowCloseButton}" Click="CLose_Click"></Button>
|
</StackPanel>
|
</UserControl>
|