How to fix margins in silverlight - Digital Tool Factory blog

How to fix margins in silverlight

The Problem: You try to set margins the same way in xaml as in xhtml/css.

The Cause:
The margin property in xaml is different than the margin in xhtml/css

The Solution:
Use this bit of info: the margins in xaml go left,top,right,bottom, or clockwise from 9:00.

This was hardly the most significant problem I had with the new app, but it did take me a little while to figure out, so I thought I would blog it in case someone else had the same problem.


This post originally appeared on the Stronico blog – with the absorption of Stronico into Digital Tool Factory this post has been moved to the Digital Tool Factory blog


Written By Steve French


Leave a Reply

Your email address will not be published. Required fields are marked *

Copyright 2011 Digital Tool Factory. All Rights Reserved. Powered by raw technical talent. And in this case, WordPress.