A place for spare thoughts

15/05/2011

BooleanToVisibilityConverter

Filed under: wpf — Ivan Danilov @ 16:22

Well, it’s a shame for me but until today I wasn’t aware of BooleanToVisibilityConverter existence in the WPF library. And wrote custom classes with almost the same code again and again.

This class supports two way conversion and could handle bool and Nullable<bool> as its input.

Hope this will save time for someone who like me tries to invent a wheel again 🙂

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: