	<DockPanel  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" >
		<DockPanel.Resources>
			<!--definicja stylu-->
			<Style x:Key="buttonStyle" TargetType="Button">
				<Setter Property="FontWeight" Value="Bold"/>
				<Setter Property="FontFamily" Value="Broadway"/>
				<Setter Property="FontSize" Value="28"/>
				<Setter Property="MinWidth" Value="50"/>
				<Setter Property="Foreground" Value="#FF8C0F00"/>
				<Setter Property="BorderBrush" Value="#FF8C0F00"/>
				<Setter Property="Background">
					<Setter.Value>
						<LinearGradientBrush EndPoint="1,0" StartPoint="1,1" SpreadMethod="Pad" ColorInterpolationMode="ScRgbLinearInterpolation">
							<GradientStop Color="#FF8C0F00" Offset="0" />
							<GradientStop Color="#00140007" Offset="0.5" />
						</LinearGradientBrush>
					</Setter.Value>
				</Setter>
			</Style>
		</DockPanel.Resources>
		<!--użycie zdefiniowanego stylu w przyciskach-->
		<Button Style="{StaticResource buttonStyle}">1</Button>
		<!--<TextBox  Style="{StaticResource buttonStyle}" Background="RosyBrown">2</TextBox>-->
		<!--<Expander Style="{StaticResource buttonStyle}" Content="3"></Expander>-->
		<GroupBox Header="5" >
			<RadioButton Style="{StaticResource buttonStyle}" Content="4"/>
		</GroupBox>
		<TreeView Style="{StaticResource buttonStyle}">
			<TreeViewItem>6</TreeViewItem>
			<TreeViewItem>6</TreeViewItem>
		</TreeView>
		<TabControl>
			<TabItem Header="7"/>
		</TabControl>
	</DockPanel>