Returns the bounding rectangle for the button. If the button is a RebarButtonType.MenuOrPush, the drop-down rectangle is excluded.
A Rectangle that represents the bounding rectangle of the button.
If ButtonType is RebarButtonType.MenuOrPush, the returned rectangle does not include the drop-down button.
RebarButtonRenderer Class | Skybound.Rebar.Rendering Namespace