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

◆ rectangle()

const xtd::drawing::rectangle & xtd::forms::tool_bar_button::rectangle ( ) const
noexcept

Gets the bounding rectangle for a toolbar button.

Returns
The bounding xtd::drawing::rectangle for a toolbar button.
Remarks
If the xtd::forms::tool_bar and the current button are both xtd::forms::tool_bar_button::visible, then this property retrieves the bounding rectangle the button is currently contained in.