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

TdxLayoutGroupButtonOptions.Buttons Property

Provides access to the action button collection in a layout group.

#Declaration

Delphi
property Buttons: TdxLayoutGroupButtons read; write;

#Property Value

Type Description
TdxLayoutGroupButtons

A layout group button collection.

#Remarks

You can create any number of action buttons in a layout group to execute custom code in response to clicks on these buttons. Call the Buttons.Add function to create a new button. The Buttons.Items property provides indexed access to all created buttons in the layout group.

Refer to the TdxLayoutGroupButtons class description for detailed information on group button collection management.

#Action Button Functionality

To execute custom code in response to a click on an action button, handle its OnClick event. You can use the button’s Glyph and Hint properties to assign a glyph and define a hint.

Refer to the TdxLayoutGroupButton class description for detailed information on all available options.

#Limitations

Action buttons are hidden in a layout group if one of the following conditions is met:

  • The layout group is nested in a tabbed or hidden layout group.
  • The layout group’s ShowBorder property is set to False.
See Also