Vcl.ComCtrls.TLVOwnerDataStateChangeEvent
Delphi
TLVOwnerDataStateChangeEvent = procedure(Sender: TObject; StartIndex,
EndIndex: Integer; OldState, NewState: TItemStates) of object;
C++
typedef void __fastcall (__closure *TLVOwnerDataStateChangeEvent)(System::TObject* Sender, int StartIndex, int EndIndex, TItemStates OldState, TItemStates NewState);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
type typedef |
public | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | Vcl.ComCtrls |
Description
TLVOwnerDataStateChangeEvent is the type of a list view's Vcl.ComCtrls.TCustomListView.OnDataStateChange and Vcl.ComCtrls.TCustomListView.OnDataStateChange event handlers.
Sender is the list view control containing the items that have changed.
StartIndex is the index of the first item that has changed.
EndIndex is the index of the last item that has changed.
OldState is the old state of the items.
NewState is the new state of the items.