Vcl.ComCtrls.TListItem.Indent

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

Delphi

property Indent: Integer read FIndent write SetIndent default 0;

C++

__property int Indent = {read=FIndent, write=SetIndent, default=0};

プロパティ

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

説明

リスト項目がどのくらいインデントされるかを指定します。

Indent プロパティを使用すると,リストビューの ViewStyle プロパティが vsReport のときに,リスト項目がどのくらいインデントされるかを判定または設定できます。Indent プロパティで,SmallImages イメージリストの Width プロパティに掛ける係数を指定して,レポートスタイルのリストビューのインデントを取得します。つまり,次のコマンドで項目がインデントされます。



Indent*ListView.SmallImages.Width.



Indent*ListView->SmallImages->Width



関連項目