Skip to main content

NavBarCustomDrawHintEventArgs.Handled Property

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

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v24.1.dll

NuGet Packages: DevExpress.Win, DevExpress.Win.Navigation

Declaration

public bool Handled { get; set; }

Property Value

Type Description
Boolean

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

Remarks

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