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

TcxPCButton.OnCanShow Event

In This Article

Enables you to dynamically switch the custom button’s visibility within individual tabs.

#Declaration

Delphi
property OnCanShow: TcxPCButtonCanShowEvent read; write;

#Remarks

The AButton parameter provides access to the button whose visibility is to be specified.

The ATabIndex parameter identifies the tab that contains the AButton.

Pass False as the ACanShow parameter to prohibit the button from being displayed in the tab.

Note

The OnCanShow event fires only if the settings are set to display the AButton within tabs.

See Also