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
Oftentimes when I use a VerticalStackLayout (or other layouts as well), I want to hide multiple items based on a Binding Property.
I catch my self stacking Layouts, because I want to hide several items based of this one property.
Lets say like this:
In this example, I do not want to bind 'ShowItems' to each Label individually, but it makes the Layout calculation unnecessary less performant and complex.
What would be a good practice here? Is there any lightweight container. In most cases the only property I need in the parent is the 'IsVisible' property.
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Oftentimes when I use a VerticalStackLayout (or other layouts as well), I want to hide multiple items based on a Binding Property.
I catch my self stacking Layouts, because I want to hide several items based of this one property.
Lets say like this:
In this example, I do not want to bind 'ShowItems' to each Label individually, but it makes the Layout calculation unnecessary less performant and complex.
What would be a good practice here? Is there any lightweight container. In most cases the only property I need in the parent is the 'IsVisible' property.
Beta Was this translation helpful? Give feedback.
All reactions