Vcl.ComCtrls.TComboBoxExStrings.SortType

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

property SortType: TListItemsSortType read GetSortType write SetSortType;

C++

__property Vcl::Listactns::TListItemsSortType SortType = {read=GetSortType, write=SetSortType, nodefault};

プロパティ

種類 可視性 ソース ユニット
property public
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TComboBoxExStrings

説明

リストの項目が自動的にソートされるかどうか、およびそのソート方法を決定します。

リスト内の項目の順序を指定するときは、SortType プロパティの値を stNone 、stData 、stText 、または stBoth に設定します。 SortType プロパティが stNone 以外の場合、項目のリストはプロパティの値に従って自動的にソートされます。 リストビューがソートされると、元々の順序は一旦失われます。SortType を stNone に設定し直しても項目の前の順序は記憶されていないため、元に戻すことはできません。

関連項目