ComCtrls.TListItem Properties

From RAD Studio VCL Reference
Jump to: navigation, search

Delphi Information

property Caption: string read FCaption write SetCaption;

Specifies the text that labels the item in the list.

property Checked: Boolean read GetChecked write SetChecked;

Determines whether a check mark appears next to the list item.

property Cut: Boolean read GetState write SetState;

Determines whether the list item is drawn as if it is selected for a cut operation.

property Data: Pointer read FData write SetData;

Specifies any application-specific data associated with the list item.

property Deleting: Boolean read FDeleting;

Indicates whether an item's Destroy method has been called and the item is in the process of being deleted.

property DropTarget: Boolean read GetState write SetState;

Determines whether the list item appears selected as a drag and drop target.

property Focused: Boolean read GetState write SetState;

Indicates whether the list item has input focus.

property GroupID: Integer read FGroupID write SetGroupID;

Represents the group ID of an item in a list view.

property Handle: HWND read GetHandle;

Indicates the window handle of the list view that displays the list item.

property ImageIndex: TImageIndex read FImageIndex write SetImage;

Determines which image is displayed as the icon for the list item.

property Indent: Integer read FIndent write SetIndent;

Specifies how far the list item is indented.

property Index: Integer read GetIndex;

Indicates the position of the list item in the TListItems collection.

property Left: Integer read GetLeft write SetLeft;

Specifies the distance, in pixels, from the left edge of the list view to the left edge of the list item.

property ListView: TCustomListView read GetListView;

Indicates the list view control that displays the list item.

property Owner: TListItems read FOwner;

Specifies the TListItems object that owns the list item.

property OverlayIndex: TImageIndex read FOverlayIndex write SetImage;

Determines which image from the image list is used as an overlay mask.

property Position: TPoint read GetPosition write SetPosition;

Specifies the position of the list item.

property Selected: Boolean read GetState write SetState;

Indicates whether the list item is selected.

property StateIndex: TImageIndex read FStateIndex write SetImage;

Specifies which image from the StateImages image list to display for the item.

property SubItems: TStrings read FSubItems write SetSubItems;

Contains any strings that appear as subitems to the list item.

property SubItemImages: Integer read GetSubItemImage write SetSubItemImage;

Indicates which images (if any) should appear next to subitems of the item.

property Top: Integer read GetTop write SetTop;

Specifies the distance, in pixels, from the top of the list view to the top of the list item.


Unit: ComCtrls

Type: property

Visibility: public

Member Of: TListItem

C++ Information

__property System::UnicodeString Caption = {read=FCaption,write=SetCaption};

Specifies the text that labels the item in the list.

__property bool Checked = {read=GetChecked,write=SetChecked};

Determines whether a check mark appears next to the list item.

__property bool Cut = {read=GetState,write=SetState};

Determines whether the list item is drawn as if it is selected for a cut operation.

__property void * Data = {read=FData,write=SetData};

Specifies any application-specific data associated with the list item.

__property bool Deleting = {read=FDeleting};

Indicates whether an item's Destroy method has been called and the item is in the process of being deleted.

__property bool DropTarget = {read=GetState,write=SetState};

Determines whether the list item appears selected as a drag and drop target.

__property bool Focused = {read=GetState,write=SetState};

Indicates whether the list item has input focus.

__property int GroupID = {read=FGroupID,write=SetGroupID};

Represents the group ID of an item in a list view.

__property HWND__ * Handle = {read=GetHandle};

Indicates the window handle of the list view that displays the list item.

__property int ImageIndex = {read=FImageIndex,write=SetImage};

Determines which image is displayed as the icon for the list item.

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

Specifies how far the list item is indented.

__property int Index = {read=GetIndex};

Indicates the position of the list item in the TListItems collection.

__property int Left = {read=GetLeft,write=SetLeft};

Specifies the distance, in pixels, from the left edge of the list view to the left edge of the list item.

__property Comctrls::TCustomListView * ListView = {read=GetListView};

Indicates the list view control that displays the list item.

__property Comctrls::TListItems * Owner = {read=FOwner};

Specifies the TListItems object that owns the list item.

__property int OverlayIndex = {read=FOverlayIndex,write=SetImage};

Determines which image from the image list is used as an overlay mask.

__property Types::TPoint Position = {read=GetPosition,write=SetPosition};

Specifies the position of the list item.

__property bool Selected = {read=GetState,write=SetState};

Indicates whether the list item is selected.

__property int StateIndex = {read=FStateIndex,write=SetImage};

Specifies which image from the StateImages image list to display for the item.

__property Classes::TStrings * SubItems = {read=FSubItems,write=SetSubItems};

Contains any strings that appear as subitems to the list item.

__property int SubItemImages = {read=GetSubItemImage,write=SetSubItemImage};

Indicates which images (if any) should appear next to subitems of the item.

__property int Top = {read=GetTop,write=SetTop};

Specifies the distance, in pixels, from the top of the list view to the top of the list item.


Unit: ComCtrls

Type: property

Visibility: public

Member Of: TListItem


Description

Embarcadero Technologies does not currently have any additional information. Please help us document this topic by using the Discussion page!

Personal tools
Translations
Newest Version