Click or drag to resize

FileListItem Class

Class contains infos about any items within the Lists.
Inheritance Hierarchy

Namespace:  Jam.Shell
Assembly:  ShellBrowser (in ShellBrowser.dll) Version: 6.1
Syntax
[SerializableAttribute]
public class FileListItem : CustomFileListItem

The FileListItem type exposes the following members.

Constructors
  NameDescription
Public methodFileListItem
Initalizes a new ShellListItem with an empty caption.
Public methodFileListItem(String)
Initializes a new ShellListItem with the caption given in the parameter.
Top
Properties
  NameDescription
Public propertyAbsoluteItemIdList
Lazy loads and caches the ItemIdList corresponding to the complete path of the ListItem.
(Inherited from ShellListBaseItem.)
Public propertyChecked
This property calls CheckState and returns true only if the item is CheckState.Checked and false if in CheckState.Grayed or CheckState.UnChecked.
(Inherited from ShellListBaseItem.)
Public propertyCheckState
If the CheckBoxes property of the ShellListView is true then this property can be used to get or set the check state. If the value that is set changes the item's checkstate, and a ShellControlConnector is assigned to the ShellListView the item is contained in, the SelectionList will be updated accordingly.
(Inherited from ShellListBaseItem.)
Public propertyColumnInfoAvailable
Returns true if the columns have been added as subitems
(Inherited from ShellListBaseItem.)
Public propertyCut
Defines if the item's image should be shown ghosted or not.
(Inherited from ShellListBaseItem.)
Public propertyDetailsCompleted
Returns true if item details have already been loaded.
(Inherited from ShellListBaseItem.)
Public propertyFileCount Obsolete.
Returns "1" if the item is a file, if the item is a folder, the number of files contained in that folder
Public propertyFileSize
If this item is a file this property returns its size, 0 otherwise.
(Overrides CustomFileListItemFileSize.)
Public propertyFullPath
Use to get the full path of this item.
(Inherited from ShellListBaseItem.)
Protected propertyItemIdListWorkItem
Holds a WorkItem running for this instance.
(Inherited from ShellListBaseItem.)
Public propertyOverlayImage
The index of the overlay image in the system image list that should be shown in front of the normal icon.
(Inherited from ShellListBaseItem.)
Public propertyCode examplePath
Get or set the Path of the filelist item.
(Overrides CustomFileListItemPath.)
Protected propertyQueuedCompleteDetailsWorkItem
Holds an already queued workitem to complete the item details, to avoid queuing more than 1 workitem per item.
(Inherited from ShellListBaseItem.)
Public propertyRelativeItemIdList
Get the relative PIDL of the current item.
(Inherited from ShellListBaseItem.)
Public propertyShellListView
The same instance as ListView but typed as JamBaseShellListView.
(Inherited from ShellListBaseItem.)
Protected propertyTooltipWorkItem
Cache for the TooltipWorkItem to make sure only one is running at a time.
(Inherited from ShellListBaseItem.)
Protected propertyVariantColumnTexts
This array holds the column texts of the item. It`s filled in FillSubitems.
(Inherited from ShellListBaseItem.)
Top
Methods
  NameDescription
Protected methodAcquireImageIndecesViaThreadPool
This method enqueues a work item into the system threadpool to get the image indeces of the particular FileListItem.
(Overrides CustomFileListItemAcquireImageIndecesViaThreadPool.)
Protected methodAfterRename
Refreshes the item`s ItemIdLists, text and executes the PathWasRenamed methods
(Inherited from ShellListBaseItem.)
Public methodCompleteDetails
Completes the details of the ShellListBaseItem, given that it's ListView property is set, ie. the item has been added to the listview. Consider calling CompleteDetails(JamBaseShellListView) if the Item has not yet been added to the ListView.
(Inherited from ShellListBaseItem.)
Public methodCompleteDetails(JamBaseShellListView)
Completes the details for a filelist item
(Overrides ShellListBaseItemCompleteDetails(JamBaseShellListView).)
Protected methodGetThumbnailCallback
This method is called when the thumbnail image is rendered completely
(Inherited from ShellListBaseItem.)
Public methodGetVariantValue
Gets the value for the specified column as variant.
(Inherited from ShellListBaseItem.)
Public methodInvertCheckState
This method inverts the CheckState of the ShellListItem instance. If the Item was checked it's state will be set to unchecked. If it was Grayed or UnChecked it will be Checked afterwards. If the Item is not associated (contained) in a ShellListView or the ShellListView has no ShellControlConnector assigned, this method does nothing and returns immediately. Furthermore the ListView needs to have the CheckBoxes property enabled.
(Inherited from ShellListBaseItem.)
Protected methodInvokeSetCut
Sets Cut property through BeginInvoke
(Inherited from ShellListBaseItem.)
Protected methodInvokeSetImageIndex
Sets the ImageIndex property through BeginInvoke
(Inherited from ShellListBaseItem.)
Protected methodInvokeSetOverlayIndex
Sets the OverlayImage index property through BeginInvoke
(Inherited from ShellListBaseItem.)
Protected methodInvokeSetThumbnailImage
Invokes SetThumbnailBitmap(ImageList, Bitmap, ShellBrowser) from the gui thread, this adds the bitmap to the imagecollection of the imagelist, sets the image index of this item accordingly. Queues another work-item to obtain a real thumbnail later on
(Inherited from ShellListBaseItem.)
Public methodRefreshCheckState
Refreshes the value of the CheckState CheckSate property by starting an asynchronous operation. Calling this method has no effect if the item is not part of a list, or has no ShellControlConnector assigned.
(Inherited from ShellListBaseItem.)
Protected methodRefreshGhostedState
Refreshes the ghosted state of the item, e.g. after a SmartRefresh.
(Inherited from ShellListBaseItem.)
Protected methodRefreshOverlayImageIndex
Refreshes the overlay image index of the item.
(Inherited from ShellListBaseItem.)
Public methodReload
Reloads the item. If an ItemIdList is passed it is refreshed and used as new absolute ItemIdList for the item.
(Inherited from ShellListBaseItem.)
Protected methodRemoveSubItem
Removes the subitem at the passed postion.
(Inherited from ShellListBaseItem.)
Public methodRename
Renames the item.
(Overrides ShellListBaseItemRename(String).)
Protected methodSetImageIndex (Inherited from ShellListBaseItem.)
Protected methodSetThumbnailBitmap
Adds the bitmap to the imagecollection of the imagelist, sets the image index of this item accordingly. Queues another work-item to obtain a real thumbnail later on
(Inherited from ShellListBaseItem.)
Top
Fields
  NameDescription
Protected fieldm_AbsoluteItemIdList
Absolute ItemIdList of this item.
(Inherited from ShellListBaseItem.)
Protected fieldm_ItemState
Stores the state of the item. DetailsCompleted and Cut
(Inherited from ShellListBaseItem.)
Protected fieldm_OverlayImage
Used to store the value of the OverlayImage OverlayImage property, the index of the overlay item in the system image list of this item.
(Inherited from ShellListBaseItem.)
Protected fieldm_RelativeItemIdList
ItemIdList of this item relative to the folder p_Path ItemIdList.
(Inherited from ShellListBaseItem.)
Protected fieldm_VariantColumnTexts
This list holds the column texts of the item. It`s filled in FillSubitems.
(Inherited from ShellListBaseItem.)
Top
See Also