Skip to main content

TdxListItem Members

A list item.

Constructors

Name Description
Create(TdxListItems) Creates a new list item.

Properties

Name Description
Caption Specifies the item’s caption.
Checked Specifies if the item’s checkbox is checked.
Cut Specifies if the item is highlighted as a cut and paste operation target.
Data Specifies a pointer to custom data associated with the item.
Deleting Identifies if the List View deletes the item.
DropTarget Identifies if the item is the target of a drag-and-drop operation.
Enabled Specifies if the item is enabled.
Focused Specifies if the item has focus.
Group Specifies the group that contains the list item.
GroupID Specifies an index of the group that contains the list item.
Hint Specifies the item’s hint.
ImageIndex Specifies the item’s image index.
Index Returns the item’s index in the List View’s item collection.
Left Returns the distance between the item and the List View‘s left border.
ListView Provides access to the List View that owns the list item.
OverlayIndex Specifies an index of the image used as the item image’s overlay mask.
Owner Provides access to the item collection that owns the list item.
Position Returns the item position in the List View.
Selected Specifies if the item is selected.
StateIndex Specifies an index of the item’s additional image.
SubItemImages Specifies image indexes for the item’s subitems.
SubItems Specifies the item’s subitems.
Tag Stores a value associated with the item.
Top Returns the distance between the item and the List View‘s top border.

Methods

Name Description
Assign(TPersistent) Inherited from TPersistent.
AssignTo(TPersistent) Inherited from TPersistent.
CancelEdit Closes the item’s in-place caption editor and discards all user changes.
Delete Deletes the item.
DisplayRect Returns item bounds.
EditCaption Opens the item’s in-place caption editor if it is possible.
Equals(TObject) Inherited from TObject.
GetHashCode Inherited from TObject.
GetNamePath Inherited from TPersistent.
GetOwner Inherited from TPersistent.
MakeVisible(Boolean) Scrolls the List View to bring the item into view.
ToString Inherited from TObject.
See Also