Skybound Rebar

RebarButtonRenderer.GetButtonRectangle Method 

Returns the bounding rectangle for the button. If the button is a RebarButtonType.MenuOrPush, the drop-down rectangle is excluded.

[Visual Basic]
Public Function GetButtonRectangle() As Rectangle
[C#]
public Rectangle GetButtonRectangle();

Return Value

A Rectangle that represents the bounding rectangle of the button.

Remarks

If ButtonType is RebarButtonType.MenuOrPush, the returned rectangle does not include the drop-down button.

See Also

RebarButtonRenderer Class | Skybound.Rebar.Rendering Namespace