Reputation: 4918
How can I make stop things from aligning center inside a Border control?
I tried to modify the properties, but couldn't find the right one and everything I add to the Border Control is aligned centerly...
how to stop it?
thanks, Joe
Upvotes: 0
Views: 262
Reputation: 29073
set alignment properties on the border's child like this:
<Border BorderBrush="Black"
BorderThickness="1"
Height="100"
Width="100">
<Button Content="Button"
Width="50"
Height="50"
HorizontalAlignment="Right"
VerticalAlignment="Bottom"/>
</Border>
Upvotes: 3