Skip to main content

TdxNavBarCustomDrawEvents.NavigationPaneSplitter Event

Enables you to custom paint the navigation pane’s splitter.

Declaration

property NavigationPaneSplitter: TdxNavBarCustomDrawEvent read; write;

Remarks

The Sender parameter identifies the NavBar control whose header is to be painted.

The ACanvas parameter represents the painting surface.

The control’s ViewInfo information is passed as the AViewInfo parameter which is actually of the TdxNavBarOffice11NavPaneViewInfo type. You can use this object’s SplitterRect property to obtain the rectangle in which to paint.

You should set the AHandled parameter to True to prohibit default painting after the event handler’s execution. Otherwise, the control will paint the header section using the default painting mechanism.

See Also