IsVisible=false element gets loaded in element tree #26089
Replies: 1 comment
-
I marked this as resolved but since than I have deleted that comment because it was not resolved. Turned out I was watching the wrong element... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm building an app and I'm creating a collapse in a ListView using a Grid and the
IsVisible
property. I'm hiding these Grids by default but are still loaded in the element tree. This element along with it's children are present in the Live Visual Tree explorer. When I select an element in the explorer, theIsVisible
property is false as you would expect but theIsLoaded
property is true. These properties are both true when inspecting the children of the Grid.Am I missing something? Is my understanding of the relation between
IsVisible
andIsLoaded
wrong?On a side note, the documentation says the following, so maybe that's where my confusion comes from:
Beta Was this translation helpful? Give feedback.
All reactions