API:Vcl.ListActns.TVirtualListAction.OnGetItemCount
Delphi
property OnGetItemCount;
C++
__property OnGetItemCount;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | published | Vcl.ListActns.pas Vcl.ListActns.hpp |
Vcl.ListActns | TVirtualListAction |
Description
Occurs when the list action needs to determine the number of items it supplies to client controls.
Vcl.ListActns.TVirtualListAction.OnGetItemCount inherits from Vcl.ListActns.TCustomListAction.OnGetItemCount. All content below this line refers to Vcl.ListActns.TCustomListAction.OnGetItemCount.
Occurs when the list action needs to determine the number of items it supplies to client controls.
The GetCount method generates an OnGetItemCount event to supply the value of the Count property. Write an OnGetItemCount event handler to indicate the number of items for which you are supplying values in the OnGetItem event handler.
Sender is the list action that is supplying data to client controls.
Count returns the number of items this list action supplies to client controls.