Home > Technology > WPF Margins

WPF Margins

October 21st, 2009 Leave a comment Go to comments

Setting a WPF / XAML Margin control within the designer can be done in two different ways. If you want a single value for all directions: Margin=”5″. If you would like different margins, then put a space between each assignment: Margin=”5 10 5 0″ The assignment order is left, top, right, and finally bottom.

Tags: ,
  1. No comments yet.
  1. No trackbacks yet.
You must be logged in to post a comment.