Custom Window
<Window x:Class="ControlTemplates.CustomWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="CustomWindowTest" Height="300" Width="300" Style="{StaticResource CustomWindowChrome}" Tag="This is a custom footer" ResizeMode="CanResizeWithGrip"> <StackPanel Margin="10"> <TextBlock Margin="3">This is a test.</TextBlock> <Button Margin="3" Padding="3">OK</Button> </StackPanel> </Window>