You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wonder whether it would be possible to implement IsVisible property for Spans for more advanced cases, where some spans should not be visible. My case looks like this -
There are two formats - "TV" or "MANGA". If it's manga, season and season year is always null so it's not visible that's great but I would like to have " - " not visible too in that case. If I had IsVisible I could use some existing converters to check if Season is null for example. But that's just my kind of situation, somebody could bind IsVisible to true or false somewhere.
Right now I guess I need to make a converter for that, pass value I want to check and throw in empty string in that case or have stack layout of labels.. Either way I think it would be cool quality of life addition for more complicated spans.
IsVisible should be implemented to as many UI elements as it is possible anyway.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I wonder whether it would be possible to implement IsVisible property for Spans for more advanced cases, where some spans should not be visible. My case looks like this -
There are two formats - "TV" or "MANGA". If it's manga, season and season year is always null so it's not visible that's great but I would like to have " - " not visible too in that case. If I had IsVisible I could use some existing converters to check if Season is null for example. But that's just my kind of situation, somebody could bind IsVisible to true or false somewhere.
Right now I guess I need to make a converter for that, pass value I want to check and throw in empty string in that case or have stack layout of labels.. Either way I think it would be cool quality of life addition for more complicated spans.
IsVisible should be implemented to as many UI elements as it is possible anyway.
Beta Was this translation helpful? Give feedback.
All reactions