title: TextBlock and Image inside Dockpanel
body: <p>I have the below code.  I am trying to place the image directly to the right of the textblock within the border, but the image is almost touching the right side of the screen.  How can I allign the image to the right of the textblock</p>
  
  <pre><code>&lt;Border BorderBrush="#FFD6D4D4" BorderThickness="0,0,0,1" Grid.Column="0" Grid.Row="1"
          Height="28" VerticalAlignment="Top" Background="#FFF7F7F7"
          HorizontalAlignment="Stretch"&gt;
                  &lt;DockPanel LastChildFill="False"&gt;
                      &lt;TextBlock DockPanel.Dock="Left" 
                                 Style="{StaticResource HeaderTextBlockStyle}" 
                                 Text="Check new items"
                                 VerticalAlignment="Center" Margin="2" /&gt;
                      &lt;Image
                         DockPanel.Dock="Left"
                         VerticalAlignment="Center"                      
                         SnapsToDevicePixels="True"
                         UseLayoutRounding="True"
                         RenderOptions.BitmapScalingMode="HighQuality"
                         Source="/Media/pointer.png"
                         RenderTransformOrigin="0.95,4.046" 
                         HorizontalAlignment="Center" Margin="0"  
                         Height="25.306" Width="25.008&gt;
                          &lt;Image.RenderTransform&gt;
                              &lt;TransformGroup&gt;
                                  &lt;ScaleTransform/&gt;
                                  &lt;SkewTransform/&gt;
                                  &lt;RotateTransform Angle="49.57"/&gt;
                                  &lt;TranslateTransform X="-39.746" Y="-21.185"/&gt;
                              &lt;/TransformGroup&gt;
                          &lt;/Image.RenderTransform&gt;
                      &lt;/Image&gt;                  
                  &lt;/DockPanel&gt;
              &lt;/Border&gt;
  </code></pre>