Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxNavBarCustomDrawGroupEvent Type

Specifies the type of events that are invoked due to custom drawing of either the NavBar group caption, group client background or group client foreground.

#Declaration

Delphi
TdxNavBarCustomDrawGroupEvent = procedure(Sender: TObject; ACanvas: TCanvas; AViewInfo: TdxNavBarGroupViewInfo; var AHandled: Boolean) of object;

#Parameters

Name Type
Sender TObject
ACanvas TCanvas
AViewInfo TdxNavBarGroupViewInfo
AHandled Boolean

#Remarks

The TdxNavBarCustomDrawGroupEvent type is used by the OnCustomDraw.GroupCaption, OnCustomDraw.GroupClientBackground and OnCustomDraw.GroupClientForeground events.

The Sender parameter specifies the sender of the event.

The ACanvas parameter specifies an object of the TCanvas type which represents the drawing surface.

The AViewInfo parameter specifies an object of the TdxNavBarGroupViewInfo type that stores ViewInfo information of the NavBar group.

The AHandled parameter specifies whether the default processing of the corresponding events should be suppressed. If the parameter is set to True the default processing does not occur; otherwise the default processing occurs after the one the developer implemented.

See Also