FMX.ListView.Appearances.TAppearanceListViewItems.CheckedIndexes
Delphi
function CheckedIndexes(const AChecked: Boolean): TArray<Integer>; overload;
function CheckedIndexes(const AOrder: TListViewItems.TOrder; const AChecked: Boolean): TArray<Integer>; overload;
C++
System::DynamicArray<int> __fastcall CheckedIndexes(const bool AChecked)/* overload */;
System::DynamicArray<int> __fastcall CheckedIndexes(const Fmx::Listview::Adapters::Base::TListViewItems::TOrder AOrder, const bool AChecked)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | FMX.ListView.Appearances.pas FMX.ListView.Appearances.hpp |
FMX.ListView.Appearances | TAppearanceListViewItems |
Description
Returns indexes of all checked (AChecked = True) or unchecked (AChecked = False) items.
AOrder
specifies the order of the returned items (TListViewItems.TOrder.FirstToLast or TListViewItems.TOrder.LastToFirst).