FMX.ListView.Appearances.TPublishedAppearance.ItemEditAppearance

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

Delphi

property ItemEditAppearance: string read GetItemEditAppearance write SetItemEditAppearance stored False;

C++

__property System::UnicodeString ItemEditAppearance = {read=GetItemEditAppearance, write=SetItemEditAppearance, stored=false};

プロパティ

種類 可視性 ソース ユニット
property published
FMX.ListView.Appearances.pas
FMX.ListView.Appearances.hpp
FMX.ListView.Appearances TPublishedAppearance


説明

編集モード時の、項目の外観名を設計する文字列です。

メモ: これは、設計時のプロパティです。 実行時には、代わりに TAppearanceListView.ItemEditAppearanceName にアクセスします。

リスト ビューを表示モードと編集モードの間で切り替えると、その項目の外観は、ItemAppearance プロパティで定義された外観と(表示モード)、ItemEditAppearance プロパティで定義された外観(編集モード)の間で、切り替わります。 項目は、外観が変わる際に、アニメーションを表示することもあります。 たとえば、ListItemDelete を設定することにより、ユーザーが、項目をクリック(Android で)、または、スライド削除シンボルをクリック(iOS)した際に、プラットフォーム固有の[削除]ボタンの表示が可能になります。

ItemEditAppearance で利用可能な値は次の通りです:

ItemEditAppearance ItemAppearance 動作モード リスト項目のプレビュー(Android/iOS)
選択されていない 選択されている
カスタム Custom Custom
DynamicAppearance DynamicAppearance Custom
ImageListItemBottomDetailShowCheck ImageListItemBottomDetail Select ItemEditAppearance-ImageListItemBottomDetailShowCheck-NotSelected-Android.png
ItemEditAppearance-ImageListItemBottomDetailShowCheck-NotSelected-iOS.png
ItemEditAppearance-ImageListItemBottomDetailShowCheck-Selected-Android.png
ItemEditAppearance-ImageListItemBottomDetailShowCheck-Selected-iOS.png
ImageListItemBottomDetailRightButtonShowCheck ImageListItemBottomDetailRightButton Select ItemEditAppearance-ImageListItemBottomDetailShowCheck-NotSelected-Android.png
ItemEditAppearance-ImageListItemBottomDetailShowCheck-NotSelected-iOS.png
ItemEditAppearance-ImageListItemBottomDetailShowCheck-Selected-Android.png
ItemEditAppearance-ImageListItemBottomDetailShowCheck-Selected-iOS.png
ImageListItemDelete ImageListItem Delete ItemEditAppearance-ImageListItemDelete-NotSelected-Android.png
ItemEditAppearance-ImageListItemDelete-NotSelected-iOS.png
ItemEditAppearance-ImageListItemDelete-Selected-Android.png
ItemEditAppearance-ImageListItemDelete-Selected-iOS.png
ImageListItemRightButtonDelete ImageListItemRightButton Delete ItemEditAppearance-ImageListItemDelete-NotSelected-Android.png
ItemEditAppearance-ImageListItemDelete-NotSelected-iOS.png
ItemEditAppearance-ImageListItemDelete-Selected-Android.png
ItemEditAppearance-ImageListItemDelete-Selected-iOS.png
ImageListItemRightButtonShowCheck ImageListItemRightButton Select ItemEditAppearance-ImageListItemRightButtonShowCheck-NotSelected-Android.png
ItemEditAppearance-ImageListItemRightButtonShowCheck-NotSelected-iOS.png
ItemEditAppearance-ImageListItemRightButtonShowCheck-Selected-Android.png
ItemEditAppearance-ImageListItemRightButtonShowCheck-Selected-iOS.png
ImageListItemShowCheck ImageListItem Select ItemEditAppearance-ImageListItemRightButtonShowCheck-NotSelected-Android.png
ItemEditAppearance-ImageListItemRightButtonShowCheck-NotSelected-iOS.png
ItemEditAppearance-ImageListItemRightButtonShowCheck-Selected-Android.png
ItemEditAppearance-ImageListItemRightButtonShowCheck-Selected-iOS.png
ListItemDelete ListItem Delete ItemEditAppearance-ListItemDelete-NotSelected-Android.png
ItemEditAppearance-ListItemDelete-NotSelected-iOS.png
ItemEditAppearance-ListItemDelete-Selected-Android.png
ItemEditAppearance-ListItemDelete-Selected-iOS.png
ListItemRightDetailDelete ListItemRightDetail Delete ItemEditAppearance-ListItemRightDetailDelete-NotSelected-Android.png
ItemEditAppearance-ListItemRightDetailDelete-NotSelected-iOS.png
ItemEditAppearance-ListItemDelete-Selected-Android.png
ItemEditAppearance-ListItemDelete-Selected-iOS.png
ListItemRightDetailShowCheck ListItemRightDetail Select ItemEditAppearance-ListItemRightDetailShowCheck-NotSelected-Android.png
ItemEditAppearance-ListItemRightDetailShowCheck-NotSelected-iOS.png
ItemEditAppearance-ListItemRightDetailShowCheck-Selected-Android.png
ItemEditAppearance-ListItemRightDetailShowCheck-Selected-iOS.png
ListItemShowCheck ListItem Select ItemEditAppearance-ListItemShowCheck-NotSelected-Android.png
ItemEditAppearance-ListItemShowCheck-NotSelected-iOS.png
ItemEditAppearance-ListItemShowCheck-Selected-Android.png
ItemEditAppearance-ListItemShowCheck-Selected-iOS.png

編集モードの項目の外観(ItemEditAppearance)はそれぞれ、表示モードの項目の外観と一致します(ItemAppearance)。 上の表に掲載されている動作モードは、リスト項目がどのように動作するのかを決定します。

動作モード 動作
Delete リスト項目をタップすると、削除 ボタンが表示されます。 削除 をタップすると項目が削除され、別の場所をタップすると、削除 ボタンは消えます。
Select リスト項目をタップすると、それが選択されます。 再びタップすると、選択が解除されます。 1 項目より多く選択することもできます(複数選択)。
Custom 編集モードの項目の外観のカスタム実装は、リスト項目の動作を決定します。

関連項目

コード サンプル