Gets the content rectangle from the specified rectangle.
Implements xtd::forms::style_sheets::ibox_model.