Do you mean that you want the button aligned to the right of the form? If so, StackPanel won't do that. It's made to "stack things up" either horizontally or vertically.
I would suggest you try DockPanel:
<DockPanel>
<TextBlock x:Name="ProgressIndicator"
DockPanel.Dock="Left"
Text="Ready..." />
<Button DockPanel.Dock="Right"
Content="Load Data"
Width="100"
Click="Button_Load"
Margin="0,5,0,0" />
</DockPanel>
Matt Hamilton
2009-06-15 22:21:16