Margin and padding in Silverlight UIElements

<StackPanel Background="Gray">
<TextBox Background="LightGray"
Margin="10"
Padding="10"
Text="Margin is outside, Padding is inside" />
</StackPanel>

Enjoyed this post? Share it!

 

Leave a comment

Your email address will not be published.