Getting width/height of an element on the panel UI

In the resize handler when you have the element what properties should be check to get the size?