| | |
| | | |
| | | <UserControl.Template> |
| | | <ControlTemplate TargetType="UserControl"> |
| | | <Grid> |
| | | <AdornerDecorator HorizontalAlignment="Stretch" VerticalAlignment="Stretch" > |
| | | <Grid GotFocus="Grid_GotFocus"> |
| | | <Grid.RowDefinitions> |
| | | <RowDefinition Height="30"/> |
| | | <RowDefinition Height="*"/> |
| | |
| | | </StackPanel> |
| | | </Grid> |
| | | |
| | | <Border Grid.Row="1" VerticalAlignment="Stretch" BorderThickness="2,0,2,2" BorderBrush="{Binding HeaderBackground}"> |
| | | <Border Grid.Row="1" Background="LightGray" VerticalAlignment="Stretch" BorderThickness="2,0,2,2" BorderBrush="{Binding HeaderBackground}"> |
| | | <ContentPresenter HorizontalAlignment="Stretch" VerticalAlignment="Stretch"></ContentPresenter> |
| | | </Border> |
| | | </Grid> |
| | | </AdornerDecorator> |
| | | </ControlTemplate> |
| | | </UserControl.Template> |
| | | </UserControl> |