xtd 0.2.0
Loading...
Searching...
No Matches

◆ get_content_rectangle()

virtual xtd::drawing::rectangle xtd::forms::style_sheets::ibox_model::get_content_rectangle ( const xtd::drawing::rectangle bounds) const
pure virtualnoexcept

Gets the computed content rectangle from specified bounds.

Parameters
boundsThe bounds use to compute the content rectangle with this box instance.
Returns
The content boder rectangle from specified bounds.
Remarks
The content rectangle is euqual to fill rectangle minus padding.
The content rectangle is euqual to border rectangle minux border width minus padding.

Implemented in xtd::forms::style_sheets::control.