Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

26 lines (24 sloc) 1.437 kB
<UserControl x:Class="GG.UserControls.Panel"
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:userControls="clr-namespace:GG.UserControls"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
mc:Ignorable="d"
d:DesignHeight="300" d:DesignWidth="600">
<UserControl.Template>
<ControlTemplate>
<DockPanel>
<StackPanel DockPanel.Dock="Top">
<Border BorderBrush="#7ea3be" BorderThickness="1">
<DockPanel Style="{StaticResource PanelHeaderStyle}">
<ContentPresenter DockPanel.Dock="Left" Style="{StaticResource PanelHeaderTitleStyle}" Content="{TemplateBinding userControls:Panel.Header}" />
<ContentPresenter DockPanel.Dock="Right" Content="{TemplateBinding userControls:Panel.HeaderButtons}" />
</DockPanel>
</Border>
</StackPanel>
<ContentPresenter DockPanel.Dock="Bottom" Content="{TemplateBinding userControls:Panel.Body}" />
</DockPanel>
</ControlTemplate>
</UserControl.Template>
</UserControl>
Jump to Line
Something went wrong with that request. Please try again.