NavBarCustomDrawHintEventArgs.Handled Property

Gets or sets a value specifying whether the control should perform default hint painting.

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v21.2.dll


public bool Handled { get; set; }

Property Value

Type Description

true if the control’s default hint painting is disabled; otherwise false.


Before a hint is painted, the NavBarControl.CustomDrawHint event is raised. If its handler sets the Handled property to true, a hint’s default painting is not performed. Otherwise the control will paint the hint using its default after the handler has been executed.

This property can be used, for instance, to apply custom drawing only to those hints which satisfy specific conditions.

See Also