(X) Hide this
    • Login
    • Join
      • Generate New Image
        By clicking 'Register' you accept the terms of use .

Converter to toggle visibility when content is empty

(0 votes)
0 comments   /   posted by Silverlight Show on Jul 05, 2013
Tags:   windows-phone , windows-8 , winrt , silverlight , hermit-dave
Read original post by Hermit Dave at Invoke IT Blog

Recently Gustavo Guerra posted a question on StackOverflow.com stating that behaviour of TextBlock was different on Windows Phone 7 and Windows Phone 8. If the Text is empty, WP7 renders TextBlock with Height set to 0. On WP8, it occupies full height.

I replied back stating that he should consider using a Converter for the same. Of course I had a similar issue with Cineworld app. The screenshot shows ratings & review screen I implemented – its almost a copy of Windows Phone Store ratings & review.


Comments

No comments

Add Comment

Login to comment:
  *      *       

Our News on Twitter