• Silverlight 4 Podcast Pack with Tim Heuer
  • Building Modular Silverlight Applications
  • Prism -  10 Things to Know
  • Securing Silverlight Application and WCF Service using ASP.Net Authentication Techniques
  • Model– View – ViewModel in Silverlight
Skip Navigation LinksHome / News / View News

Layout Rounding

+ Add to SilverlightShow Favorites
0 comments   /   posted by Silverlight Show on Apr 09, 2010
(0 votes)
Tags: Layout , WPF , Pete Brown
In this post, Pete Brown talks about layout rounding, which has nothing to do with using rounded corners.

WPF now has a great UI feature that Silverlight got back in the SL3 timeframe: Layout Rounding. Layout rounding lets you specify that you want the shape to snap to the closest whole pixel. Rather than have a double-width gray line, you'll get a single-width black line, but it may be a partial pixel off from where you thought it would be. That's the trade-off, and it's one that many folks are willing to make.



Comments RSS RSS
No comments

Add Comment


Please add 5 and 2 and type the answer here: