WPF alignment inside StatusBar
<p>I want to have Image which in centered inside StatusBar and DockPanel which is align to right in StatusBar</p>

<pre><code>&lt;StatusBar VerticalAlignment="Bottom" Height="30"&gt;

    &lt;StatusBarItem HorizontalAlignment="Center" &gt;
        &lt;Image  /&gt;
    &lt;/StatusBarItem&gt;
    &lt;StatusBarItem  HorizontalAlignment="Right"&gt;
        &lt;StackPanel Orientation="Horizontal"&gt;
            &lt;TextBlock /&gt;
            &lt;Controls:ProgressRing /&gt;
        &lt;/StackPanel&gt;

    &lt;/StatusBarItem &gt;

&lt;/StatusBar&gt;
</code></pre>

<p>I have above code unfortunately it's not working , StackPanel is correctly alight to right but Image is alight to left...  </p>