Skip to main content

TdxNavBarCustomImagePainter Class

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

Declaration

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