TShellListItem class
Implements the class used for list items maintained in TShelllListView.
Declaration
TShellListItem = class(TListItem)Inheritance
- TShellListItem
- TListItem
- TPersistent
- TObject
Description
TShellListItem is a
TListItem descendant which
implements the class used for the list items in the TShellListView control. It
extends the ancestor class with the FileInfo property used for file system
information about the list item. It also includes the IsFolder method to
identify whether the list item is a directory on the local file system.
TShellListItem is the default class type used to create a new list item in the TCustomShellListView.CreateListItem method. It can, however be overridden by using an OnCreateItemClass event handler in the shell list view control. It is also used in the PopulateWithRoot method in TCustomShellListView to cast a new TFileItem instance created when the a file is added to the Items for the control.
Added in LCL version 3.0.
See also
- CreateListItem
- PopulateWithRoot
- Items
- OnCreateItemClass
- Create
- TListItem
- TListItems.Add
Properties
FileInfo | public | File system information about the list item. |
Methods
IsFolder | public | Checks for the directory attribute in the file system information for the list item. |
Inherited
From TListItem (30)
Assign Caption Checked Create Cut Data Delete Destroy DisplayRect DisplayRectSubItem DropTarget EditCaption Focused GetCheckedInternal GetOwner GetStates ImageIndex Index IsEqual IsOwnerData Left ListView MakeVisible Owner Position Selected StateIndex SubItemImages SubItems Top
From TPersistent (6)
AssignTo DefineProperties FPOAttachObserver FPODetachObserver FPONotifyObservers GetNamePath
From TObject (40)
AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
