Skip to content

IsVisible=false element gets loaded in element tree #26089

Closed Answered by bhavanesh2001
johan-broekhof asked this question in Q&A
Discussion options

You must be logged in to vote

I think the description here is accurate.

Gets or sets a value that determines whether this element will be visible on screen and take up space in layouts. This is a bindable property.

The description from here is nuanced and could be misinterpreted

The IsVisible property of each element determines whether the element should be part of the visual tree or not.

It implies that IsVisible = false might remove the element from the visual tree, which is not accurate.

I raised an issue for the same.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by johan-broekhof
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants