(X) Hide this Watch a recording of the recent webinar: Building Line-of-business Applications with Silverlight & WCF Data Services
Sign up for the upcoming webinar on March 16th, 10 am PST: WCF RIA Services Validation by Brian Noyes Full info | Sign up | More webinars
Tweet @silverlightshow and win a SilverlightShow Tweet-shirt. Learn how >>
Skip Navigation LinksHome / News / View News

BooleanToVisibilityConverter

+ Add to SilverlightShow Favorites
0 comments   /   posted by Silverlight Show on Feb 28, 2011
(1 votes)
Tags: WPF , Kent Boogaart

SilverlightShow Page for all Silverlight and Windows Phone 7 (WP7) things on TwitterKent Boogaart has created his own BooleanToVisibilityConverter that addresses some requirements of the original one.

Source: Kent's Blog

This is a small thing, really, but how often do you curse WPF's BooleanToVisibilityConverter (or Silverlight’s lack thereof) because it doesn't allow you to convert true to Visibility.Collapsed instead of Visibility.Visible? Or what about converting false to Visibility.Hidden instead of Visibility.Collapsed?

Share


Comments

Comments RSS RSS
No comments

Add Comment

 
 

   
  
  
   
Please add 6 and 1 and type the answer here: