Difference in Margin Between HTML and XAML
Saturday, April 19, 2008
The Margin attribute of XAML elements acts different than in HTML. There are still the three ways of describing this information. The first way is simply, make all sides the same. These are identical in HTML and XAML (except that margin is capitalized in XAML).
HTML XAML margin: 10px Margin=“10” XAML only allows you to work in pixels. So you do not need to mark the 10 wit"uo"uot; as you do in HTML.…