| File was renamed from WPFProject/Controls/InnerWindow.xaml |
| | |
| | | <UserControl x:Class="WPFProject.Controls.InnerWindow" |
| | | <UserControl x:Class="Plugin.TestBuilder.UI.InnerWindow" |
| | | 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" |
| | | |
| | | xmlns:local="clr-namespace:Plugin.TestBuilder.UI" |
| | | mc:Ignorable="d" |
| | | HorizontalAlignment="Stretch" |
| | | HorizontalContentAlignment="Stretch" |
| | |
| | | <Setter Property="Template"> |
| | | <Setter.Value> |
| | | <ControlTemplate> |
| | | <Label VerticalContentAlignment="Center" |
| | | Background="{StaticResource ChildBorder}" Foreground="{Binding HeaderFontColor}" Content="{Binding Title}"/> |
| | | <Label VerticalContentAlignment="Center" |
| | | Foreground="{Binding HeaderFontColor}" Content="{Binding Title}"/> |
| | | </ControlTemplate> |
| | | </Setter.Value> |
| | | </Setter> |
| | |
| | | |
| | | <UserControl.Template> |
| | | <ControlTemplate TargetType="UserControl"> |
| | | <AdornerDecorator HorizontalAlignment="Stretch" VerticalAlignment="Stretch" > |
| | | <AdornerDecorator x:Name="PART_Adorner" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" > |
| | | <Grid GotFocus="Grid_GotFocus"> |
| | | <Grid.RowDefinitions> |
| | | <RowDefinition Height="30"/> |
| | | <RowDefinition Height="*"/> |
| | | </Grid.RowDefinitions> |
| | | |
| | | <Grid> |
| | | <Grid Background="{StaticResource ReVerBar}"> |
| | | <Grid.ColumnDefinitions> |
| | | <ColumnDefinition Width="*"/> |
| | | <ColumnDefinition Width="Auto"/> |
| | |
| | | DragStarted="DragStarted" DragCompleted="DragCompleted"/> |
| | | |
| | | <StackPanel Grid.Column="1" Orientation="Horizontal"> |
| | | <Button Style="{StaticResource ChildWindowButton}" Click="Min_Click"></Button> |
| | | <Button Style="{StaticResource ChildWindowButton}" Click="Max_Click" ></Button> |
| | | <Button Style="{StaticResource ChildWindowCloseButton}" Click="CLose_Click"></Button> |
| | | <Button Style="{StaticResource ChildWindowButton}" Background="Transparent" Click="Min_Click"></Button> |
| | | <Button Style="{StaticResource ChildWindowButton}" Background="Transparent" Click="Max_Click" ></Button> |
| | | <!--<Button Style="{StaticResource ChildWindowCloseButton}" Background="Transparent" Click="CLose_Click"></Button>--> |
| | | </StackPanel> |
| | | </Grid> |
| | | |