+2  A: 

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
yes, that's the way I do it in WPF but I'm using Silverlight at the moment, albeit Silverlight 3, sorry to see there's no dockpanel in this version, searching for some workaround...
Edward Tanguay
I'm pretty sure that the Silverlight control toolkit has a dockpanel
Jacob Adams
Silverlight doesn't have a DockPanel? I have to pay more attention to questions' tags. I automatically assumed it was a WPF question, but I had no idea that there was no DockPanel in Silverlight!
Matt Hamilton
+1  A: 

I think Matt's approach it the best. Two alternatives though are to use a grid and align the content to the left and right or to just give the button a really large margin.

Jacob Adams
+6  A: 

you could use dockpanel from toolkit or use grid with 2 columns. and have the content of the second column right aligned