 <Grid 
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" >

        <Grid.Resources>
            <GeometryDrawing x:Key="SampleGeometryDrawing">
                <GeometryDrawing.Brush>
                    <LinearGradientBrush>
                        <GradientStop Offset="0.0" Color="#BDBDD2FF" />
                        <GradientStop Offset="1.0" Color="Purple" />
                    </LinearGradientBrush>
                </GeometryDrawing.Brush>
                <GeometryDrawing.Geometry>
                    <!--Grupa figur-->
                    <GeometryGroup FillRule="EvenOdd">
                        <RectangleGeometry Rect="22,2 125,115"/>
                        <PathGeometry>
                            <PathGeometry.Figures>
                                <PathFigure StartPoint="0,0">
                                    <PathFigure.Segments>
                                        <LineSegment Point="400,100" />
                                        <PolyLineSegment Points="400,100 400,50 450,50 450,150"/>
                                        <ArcSegment Point="200,150" RotationAngle="45" Size="30,30" SweepDirection="Clockwise" />
                                        <BezierSegment Point1="100,200" Point2="350,350" Point3="100,100" />
                                    </PathFigure.Segments>
                                </PathFigure>
                            </PathGeometry.Figures>
                        </PathGeometry>
                    </GeometryGroup>
                </GeometryDrawing.Geometry>
            </GeometryDrawing>
        </Grid.Resources>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*" />
            <ColumnDefinition Width="*" />
            <ColumnDefinition Width="*" />
            <ColumnDefinition Width="*" />
            <ColumnDefinition Width="*" />
        </Grid.ColumnDefinitions>
        <DockPanel Grid.Column="0"  Margin="5">
            <Label DockPanel.Dock="Top"  Content="TileMode='None'"  />
            <Rectangle Stroke="Black" DockPanel.Dock="Bottom" >
                <Rectangle.Fill>
                    <DrawingBrush Viewport="0,0,0.2,0.2" TileMode="None"  Drawing="{StaticResource SampleGeometryDrawing}"/>
                </Rectangle.Fill>
            </Rectangle>
        </DockPanel>
        <DockPanel Grid.Column="1"  Margin="5">
            <Label DockPanel.Dock="Top"  Content="TileMode='Tile'"  />
            <Rectangle Stroke="Black" DockPanel.Dock="Bottom" >
                <Rectangle.Fill>
                    <DrawingBrush  Viewport="0,0,0.2,0.2" TileMode="Tile" Drawing="{StaticResource SampleGeometryDrawing}"/>
                </Rectangle.Fill>
            </Rectangle>
        </DockPanel>
        <DockPanel Grid.Column="2"  Margin="5">
            <Label DockPanel.Dock="Top"  Content="TileMode='FlipX'"  />
            <Rectangle Stroke="Black" DockPanel.Dock="Bottom" >
                <Rectangle.Fill>
                    <DrawingBrush  Viewport="0,0,0.2,0.2" TileMode="FlipX"  Drawing="{StaticResource SampleGeometryDrawing}"/>
                </Rectangle.Fill>
            </Rectangle>
        </DockPanel>
        <DockPanel Grid.Column="3" Margin="5">
            <Label DockPanel.Dock="Top"  Content="TileMode='FlipY'"  />
            <Rectangle Stroke="Black" DockPanel.Dock="Bottom" >
                <Rectangle.Fill>
                    <DrawingBrush  Viewport="0,0,0.2,0.2" TileMode="FlipY"  Drawing="{StaticResource SampleGeometryDrawing}"/>
                </Rectangle.Fill>
            </Rectangle>
        </DockPanel>
        <DockPanel Grid.Column="4"  Margin="5">
            <Label DockPanel.Dock="Top"  Content="TileMode='FlipXY'"  />
            <Rectangle Stroke="Black" DockPanel.Dock="Bottom" >
                <Rectangle.Fill>
                    <DrawingBrush Viewport="0,0,0.2,0.2" TileMode="FlipXY"  Drawing="{StaticResource SampleGeometryDrawing}"/>
                </Rectangle.Fill>
            </Rectangle>
        </DockPanel>
    </Grid>