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

TdxAlertWindowButtons.Items Property

Provides zero-based indexed access to the custom buttons stored in the current collection.

#Declaration

Delphi
property Items[Index: Integer]: TdxAlertWindowButton read; write; default;

#Property Value

Type
TdxAlertWindowButton

#Remarks

The following code shows how to access the first custom button in a collection and hide this button.

Delphi
var
  AAlertWindow: TdxAlertWindow;
// ...
// The following lines are equivalent
  AAlertWindow.OptionsButtons.Buttons[0].Visible := False;
  AAlertWindow.OptionsButtons.Buttons.Items[0].Visible := False;

To determine the number of custom buttons in the collection, use its Count property.

See Also