Best way to maintain area size

If i have go.Picture that its visibility is binded to some data model.
When the picture becomes invisible, i want to maintain its area size although invisible.
I know of a way of putting it in a fixed size go.Panel “Auto”.
Is there any other way to maintain its size ?

Instead of setting or binding GraphObject.visible, set or bind GraphObject.opacity.

In your case you’ll want to use a conversion function such as:
function(v) { return v ? 1.0 : 0.0; }

I see what you mean.