FMX.ListView.TAppearanceListView.ItemEditAppearanceName
Delphi
property ItemEditAppearanceName: string read GetItemEditAppearanceName write SetItemEditAppearanceName stored False;
C++
__property System::UnicodeString ItemEditAppearanceName = {read=GetItemEditAppearanceName, write=SetItemEditAppearanceName, stored=false};
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
property | protected | FMX.ListView.pas FMX.ListView.hpp |
FMX.ListView | TAppearanceListView |
説明
編集モードにおける通常のリスト ビュー項目の外観の名前です。
リスト ビューを表示モードと編集モードの間で切り替えると、項目の外観は、ItemAppearanceName プロパティで定義された外観(表示モード)と ItemEditAppearanceName プロパティで定義された外観(編集モード)の間で切り替わります。項目には、外観が変わる際にアニメーションが表示されることもあります。
取り得る値は以下の表のとおりです。
ItemEditAppearance | ItemAppearanceName | 編集モード | リスト項目のプレビュー | |
---|---|---|---|---|
非選択時 | 選択時 | |||
Custom | Custom | Custom | ||
ImageListItemBottomDetailShowCheck | ImageListItemBottomDetail | Select | ||
ImageListItemBottomDetailRightButtonShowCheck | ImageListItemBottomDetailRightButton | Select | ||
ImageListItemDelete | ImageListItem | Delete | ||
ImageListItemRightButtonDelete | ImageListItemRightButton | Delete | ||
ImageListItemRightButtonShowCheck | ImageListItemRightButton | Select | ||
ImageListItemShowCheck | ImageListItem | Select | ||
ListItemDelete | ListItem | Delete | ||
ListItemRightDetailDelete | ListItemRightDetail | Delete | ||
ListItemRightDetailShowCheck | ListItemRightDetail | Select | ||
ListItemShowCheck | ListItem | Select |
編集モード時の項目のそれぞれの外観は、表示モード時の項目の外観(ItemAppearanceName)と対応します。上記の表に示した編集モードの種類によって、リスト項目の動作が決まります。
項目 | 動作 |
---|---|
Delete | リスト項目をタップすると[削除]ボタンが表示されます。[削除]ボタンをタップすると、項目が削除されます。それ以外の場所をタップすると、[削除]ボタンが消えます。 |
Select | リスト項目をタップすると、その項目が選択されます。もう一度タップすると、選択が解除されます。複数の項目を選択できます(複数選択)。 |
Custom | 編集モード時の項目の外観をどのようにカスタム実装するかで、リスト項目の動作が決まります。 |
関連項目
- FMX.ListView.TAppearanceListView.ItemEditAppearanceClassName
- FMX.ListView.TAppearanceListView.ItemEditHeight