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

TdxListViewItemEvent Type

The procedural type for list item action handlers.

#Declaration

Delphi
TdxListViewItemEvent = procedure(Sender: TdxCustomListView; AItem: TdxListItem) of object;

#Parameters

Name Type Description
Sender TdxCustomListView

The List View control that raised the event.

AItem TdxListItem

The target list item.

#Remarks

The following OnDeletion event handler clears the control’s selection when a node is deleted:

procedure TForm1.dxListViewControl1Deletion(Sender: TdxCustomListView;
  AItem: TdxListItem);
begin
    Sender.ClearSelection;
end; 

The List View’s OnInsert and OnDeletion events reference the TdxListViewItemEvent type.

See Also