TdxCustomGalleryControl.OnItemClick Event
Occurs after an end-user has clicked an item.
Declaration
property OnItemClick: TdxGalleryControlItemEvent read; write;
Remarks
Implement OnItemClick event handler to respond to item clicks. Sender specifies the gallery control and AItem specifies the clicked item.
procedure <Form>.<dxGalleryControl>ItemClick(Sender: TObject; AItem: TdxGalleryControlItem);
begin
ShowMessage('You have chosen ' + AItem.Caption + ' item in the ' +
AItem.Group.Caption + ' group.');
end;
OnItemClick will occur only if the item’s property Enabled is set to True.
See Also