<DockPanel   xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
		<DockPanel.Resources>
			<!--tablica właściwości GridResizeBehavior-->
			<x:Array x:Key="myResizeBehavior" x:Type="{x:Type GridResizeBehavior}">
				<x:Static Member="GridResizeBehavior.BasedOnAlignment"/>
				<x:Static Member="GridResizeBehavior.CurrentAndNext"/>
				<x:Static Member="GridResizeBehavior.PreviousAndCurrent"/>
				<x:Static Member="GridResizeBehavior.PreviousAndNext"/>
			</x:Array>
			<!--kolor-->
			<LinearGradientBrush x:Key="myListBoxColor" StartPoint="0,0" EndPoint="1,1">
				<GradientStop Color="CornflowerBlue" Offset="0"/>
				<GradientStop Color="White" Offset="1"/>
			</LinearGradientBrush>
		</DockPanel.Resources>
		<GroupBox Margin="4" Header="ResizeBehavior">
			<ListBox SelectedIndex="0" Margin="1" Background="{DynamicResource myListBoxColor}" ItemsSource="{StaticResource myResizeBehavior}" ></ListBox>
		</GroupBox>
	</DockPanel>