Skip to main content

TdxNavBarCustomDrawEvents.BottomScrollButton Event

Enables you to paint bottom scroll buttons in a custom manner.

Declaration

property BottomScrollButton: TdxNavBarCustomDrawEvent read; write;

Remarks

The Sender parameter represents the event source (the NavBar control).

The ACanvas parameter provides the painting surface.

The bounding rectangle and the current state of the scroll button can be obtained via the AViewInfo parameter. You must use the BottomScrollButtonRect and BottomScrollButtonState properties of the obtained TdxNavBarViewInfo object for this purpose.

The AHandled parameter value specifies whether default painting is required. If you have painted the button in the event handler, set this parameter to True. Otherwise, the button will be painted in default way, specified by the View applied.

See Also