Skip to main content
Bar

BarItemCustomDrawEventArgs.DrawDropDownBackground() Method

Draws the default background for this bar item link’s drop-down menu.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.2.dll

Declaration

public void DrawDropDownBackground()

Remarks

To get whether or not this bar item link should display a drop-down, use the BarItemCustomDrawEventArgs.ShouldDrawDropDown property. You can also draw a default drop-down arrow by calling the BarItemCustomDrawEventArgs.DrawArrow method. See the BarManager.CustomDrawItem event to learn more.

See Also