Skybound Rebar

RebarButtonRenderer.GetDropDownRectangle Method 

Gets the bounding rectangle for the drop-down button of the button if its type is RebarButtonType.MenuOrPush.

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

Return Value

A Rectangle that represents the drop-down portion of the button.

Remarks

If ButtonType is not RebarButtonType.MenuOrPush, this method returns Rectangle.Empty.

See Also

RebarButtonRenderer Class | Skybound.Rebar.Rendering Namespace