Read the height of a VBox

i have a VBox. i fill it with some children. Each children having a different height. i didn’t specify any height to my VBox … so that it will resize to it’s content. Ok. But how can i now read the height of my VBox? i mean how can i find out how much space it takes? I tried to use myVBox.getRect(this).height but it always returns 100 …