Skip to main content
A newer version of this page is available. .
Bar

BarItemCustomDrawEventArgs.Handled Property

Gets or sets whether or not this item link is painted manually.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v18.2.dll

Declaration

public bool Handled { get; set; }

Property Value

Type Description
Boolean

true if this item link is painted manually; otherwise, false.

Remarks

If you set the Handled property to true, the related link will paint none of its default elements (caption, icon, drop-down arrow, etc.) unless you manually call desired Draw… methods before (BarItemCustomDrawEventArgs.DrawText, BarItemCustomDrawEventArgs.DrawGlyph, BarItemCustomDrawEventArgs.DrawArrow and others). See the BarManager.CustomDrawItem event to learn more.

See Also