Skip to main content
A newer version of this page is available. .

TcxPopupMenuInfos.Items Property

Provides zero-based indexed access to menu settings stored in the collection.

Declaration

property Items[AIndex: Integer]: TcxPopupMenuInfo read; write; default;

Property Value

Type
TcxPopupMenuInfo

Remarks

Use the Items property to access individual menu settings. The value of the Index parameter corresponds to the Index property of a particular TcxPopupMenuInfo object.

The Items property is the default property of the TcxPopupMenuInfos collection. This means that the property name, Items, can be omitted when referring to menus settings of the collection. Thus, the following code:

cxGridPopupMenu1.PopupMenus.Items[0];

can also be written as

cxGridPopupMenu1.PopupMenus[0];
See Also