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

TdxBarCustomButton Class

The base class for bar item classes that implement toolbar buttons.

#Declaration

Delphi
TdxBarCustomButton = class(
    TdxBarButtonLikeItem,
    IdxBarLinksOwner
)

#Remarks

Buttons are the most common element on toolbars. The TdxBarCustomButton class provides the base functionality for various toolbar buttons, including standard, toggle, grouped buttons, buttons with dropdown menus, etc. These buttons are implemented by the TdxBarButton, TdxBarLargeButton, and TdxBarDBNavButton bar items and their descendants. In addition to introducing corresponding properties and methods, the TdxBarCustomButton class initializes the inherited UnclickAfterDoing property with True to underpin the functionality that relates to button clicks. You can handle them using the OnClick event.

#Implements

See Also