Click or drag to resize

ShellListItem Class

Represents an item of the Windows shell namespace in a ShellListView
Inheritance Hierarchy

Namespace: Jam.Shell
Assembly: ShellBrowser (in ShellBrowser.dll) Version: 7.2
Syntax
public class ShellListItem : ShellListBaseItem, 
	IShellItem

The ShellListItem type exposes the following members.

Constructors
 NameDescription
Public methodShellListItem(ItemIdList, String, Boolean) Initalizes a new ShellListItem.
Public methodShellListItem(ItemIdList, ItemIdList, String, Boolean) Initalizes a new ShellListItem.
Top
Properties
 NameDescription
Public propertyAbsoluteItemIdList Lazy loads and caches the ItemIdList corresponding to the complete path of the ListItem.
(Inherited from ShellListBaseItem)
Protected propertyAbsoluteItemIdList_InternalSimple getter/setter for the AbsoluteItemIdList of this element.
(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 propertyFullPath Use to get the full path of this item.
(Inherited from ShellListBaseItem)
Public propertyIsFolder Is true if this item is a folder; false otherwise.
(Overrides ShellListBaseItemIsFolder)
Public propertyIsParentFolderItem Returns true, if this item represents the parent folder, which is usually displayed as ".."
Protected propertyItemIdListWorkItemHolds a WorkItem running for this instance.
(Inherited from ShellListBaseItem)
Public propertyListView A ShellListView that contains this item.
Public propertyOverlayImage Gets or sets the "OverlayIndex" to use for the element. The index must be known as overlay in the ImageList.
(Inherited from ShellListBaseItem)
Protected propertyQueuedCompleteDetailsWorkItemHolds 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)
Protected propertyRelativeItemIdList_Internal ItemIdList of this item relative to the folder p_Path ItemIdList.
(Inherited from ShellListBaseItem)
Public propertyShellListView The same instance as ListViewListView but typed as ShellListView.
Protected propertyTooltipWorkItemCache 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 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, i.e. the item has been added to the listview.
(Inherited from ShellListBaseItem)
Public methodCompleteDetails(JamBaseShellListView) Completes the details of the ShellListBaseItem.
(Inherited from ShellListBaseItem)
Public methodCompleteDetailsAsyncCompletes details asynchronously.
(Inherited from ShellListBaseItem)
Public methodCreateFolder Creates a new Folder if the ShellListNode is a Folder; may throw an Exception, see CreateDirectory(String) for the Exceptions that can occur
Public methodGetDataObject Returns the Windows Shell IDataObject interface for this shell item wrapped into an instance of type DataObject.
Protected methodGetDetailsLoads some values, like the image index into the returned value. Method should not be called in main thread.
(Overrides ShellListBaseItemGetDetails(JamBaseShellListView))
Public methodGetVariantValueGets the value for the specified column as variant.
(Overrides ShellListBaseItemGetVariantValue(SHCOLUMNID, Boolean))
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)
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 methodReloadReloads 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 position and adjusts the variant array.
(Overrides ShellListBaseItemRemoveSubItem(Int32))
Public methodRename Renames the item.
(Inherited from ShellListBaseItem)
Protected methodSetDetails Applies the passed Details to the item.
(Inherited from ShellListBaseItem)
Protected methodSetImageIndex This method sets the image index (ImageIndex). It is used in conjunction with BeginInvoke(Delegate, Object).
(Inherited from ShellListBaseItem)
Protected methodSetThumbnailBitmap Adds the bitmap to the image collection 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
See Also