Silverlight – How to set targetnullValue to Visibility.collapsed in Binding

I bind TextBlock.Visiblity to something and I want to set Binding.TargetNullValue to Collapsed, how can I do this in XAML?

This How do I set TargetNullValue to a date? does not work in Silverlight. (No x: static).

This worked for me in SL4:

Where is Foo:

public Visibility? Foo {get; set; }

< /div>

I bind TextBlock.Visiblity to something, and I want to set Binding.TargetNullValue to Collapsed, how can I do this in XAML?

This How do I set TargetNullValue to a date? does not work in Silverlight. (No x: static).

< p>This worked for me in SL4:

 

Where is Foo:

public Visibility? Foo {get; set; }

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 4038 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.