Skybound Rebar

RebarButtonRenderer.DrawArrow Method 

Draws the drop-down arrow of the button onto a specified Graphics object.

[Visual Basic]
Overridable Public Sub DrawArrow( _
   ByVal graphics As Graphics _
)
[C#]
public virtual void DrawArrow(
   Graphics graphics
);

Parameters

graphics
The Graphics surface on which the drop-down arrpw is drawn.

Remarks

This method draws the drop-down arrow in the center of the drop-down button. You can obtain the bounds of the drop-down button using GetDropDownRectangle.

The drop-down arrow is only drawn when the ButtonType property is RebarButtonType.MenuOrPush or RebarButtonType.Menu, and BandType property is RebarBandType.ToolBar.

See Also

RebarButtonRenderer Class | Skybound.Rebar.Rendering Namespace