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

TdxNavBarCustomImagePainter Class

Serves as the base for painter classes used to draw an image list item on a specified canvas.

#Declaration

Delphi
TdxNavBarCustomImagePainter = class(
    TObject
)

#Remarks

This class provides the DrawImage method, which calls the virtual InternalDrawImage method to draw group and link hints of a NavBar control. The DrawImage method is called to draw:

When you create a custom View for your NavBar control, you can provide your own painter for these images. In this case, use TdxNavBarCustomImagePainter as the base class for your painter and override the InternalDrawImage method to draw images as your needs dictate. Refer to the Registering Custom Views topic for more information.

#Inheritance

TObject
TdxNavBarCustomImagePainter
See Also