ShellListView Class |
Items that are contained in the list are of type ShellListItem. This applies to the Items and the SelectedItems properties.
Sorting is handled automatically by this list when column headers are clicked. If custom sorting is needed, an IComparer can be assigned to property ListViewItemSorter. See Sort for an example.
Namespace: Jam.Shell
The ShellListView type exposes the following members.
Name | Description | |
---|---|---|
ShellListView |
Initializes a new instance of the ShellListView class.
|
Name | Description | |
---|---|---|
ActiveImageList | Gets the ImageList that is currently used. (Inherited from JamBaseShellListView.) | |
AllowDrag |
Use this property to turn on or off drag support with the Windows Explorer.
(Inherited from JamBaseShellListView.) | |
AllowDrop |
Use this property to turn on or off drop support with the Windows Explorer.
(Inherited from JamBaseShellListView.) | |
AutomaticRefresh |
Set this property to true if you like the component to be refreshed automatically
if a Drive is added or removed.
This property is directly connected to the Enabled property of an internal instance of ShellChangeNotifier.
(Inherited from JamBaseShellListView.) | |
AutomaticRefresh_Internal |
Indicates whether automatic refresh is enabled or not.
(Inherited from JamBaseShellListView.) | |
AutoScrollDelay |
The delay in milliseconds after that the control scrolls automatically during a drag and drop operation.
A value of 0 disables the auto scroll feature.
| |
AutoSizeColumn |
Adjust the size of the given column so that it fills the remaining horizontal space.
(Inherited from JamBaseShellListView.) | |
BackgroundContextMenu |
Gets or sets the ContextMenuStrip that is displayed if no item of the
listview is under the cursor if the user clicks the right mouse button.
If this value is null, no ContextMenu is shown.
(Overrides SystemListViewBackgroundContextMenu.) | |
CheckBoxes |
Use this property to turn on or off the checkboxes for file and folder selection.
The checkboxes will only work, if a ShellControlConnector has been
assigned to the ShellControlConnector property of this component. It will
automatically synchronize the selection state of the items in multiple shell
controls linked together with this ShellControlConnector.
(Inherited from JamBaseShellListView.) | |
CheckBoxMode | Use this property to display checkboxes for the control. (Inherited from JamBaseShellListView.) | |
CheckedItems |
Refer to the SelectionList property
to determine which items are selected. Please do not use this property,
it is currently not supported.
The CheckBoxes in an ordinary ListView do
not support the grayed CheckState furthermore the ListView
does not support them at all in View TileView.
(Inherited from JamBaseShellListView.) | |
CollectSelectedPaths | true if m_SelectedFiles should contain whole paths instead of files only. (Inherited from JamBaseShellListView.) | |
Columns |
Gets the collection of all column headers that appear in the control.
(Inherited from JamBaseShellListView.) | |
ContextMenuRenderMode | Gets or sets the ToolStripRenderMode of the BackgroundContextMenu and the HeaderContextMenu. (Inherited from JamBaseShellListView.) | |
ContextMenuStrip |
The ContextMenuStrip is converted to an ordinary ContextMenu. This makes it
possible to merge your ContextMenuStrip with the Default ShellContextMenu provided
by the system.
The "Opening" and "Closing" events of the ContextMenuStrip will be raised if the
ContextMenu "Popup"/"Collapse" event occurs. For menu items only the "Click" event
is available. All other events are not available.
All ToolStripMenuItems are converted, and ToolStripSeparators are recognized.
The ShortCut Keys defined in a ToolStripMenuItem are not converted.
If you would like to have the ShortCut-Keys, leave this Property null, instead set
the ContextMenu property to your menu explicitly.
(Inherited from JamBaseShellListView.) | |
CopyMode |
Copy mode allows you to control the behaviour when files or folders get dropped.
| |
CreateParams |
Overwriting the CreateParams property to set the WS_VISIBLE flag; bug #8960
(Inherited from SystemListView.) | |
DesignMode | Gets a value indicating whether the design mode. (Inherited from JamBaseShellListView.) | |
DetectLeftClick |
Local variable to detect whether the mouse is clicked or dragged
(Inherited from JamBaseShellListView.) | |
DetectRightClick |
Local variable to detect whether the mouse is clicked or dragged
(Inherited from JamBaseShellListView.) | |
DraggedDataObject | During a drag and drop operation that origins in this control this member contains the IDataObject. Filled in the ItemDrag method of the control. (Inherited from JamBaseShellListView.) | |
DragLeaveOccurred |
Indicates that a DragLeave was executed recently; bug #6536
| |
DropItem |
Gets or sets the item on that a current drag and drop operation would be executed.
(Inherited from JamBaseShellListView.) | |
DroppedDataObject | During a drag and drop operation this member contains the IDataObject that is dragged over the control. Filled in DragEnter. (Inherited from JamBaseShellListView.) | |
FastFolderThumbnails |
In Thumbnail view, only load thumbnails that are already in the thumbnail cache for folders.
Default value true will avoid potentially huge delays that are caused by live folder thumbnails reflecting the contents of the folder.
(Inherited from JamBaseShellListView.) | |
FileNameFormat | Specifies, whether filename are presented with file extensions or not. By default, this depends on the respective setting in Windows Explorer. | |
FileSystemOnly |
If FileSystemOnly is set to True, objects and virtual folders which do not have a file system path, will not be displayed. Exceptions are 'My Computer', 'Libraries' and 'Network'
| |
Filter |
You can use a single pattern, e.g. '*.doc' or concatenate several patterns using semicolons to separate them, e.g. '*.exe;*.com'.
| |
FilterRegularExpression | Define a regular expression to filter the files that will be enumerated. | |
FolderIdList |
Sets the folder of the ShellListView.
| |
Font |
The font used to display text in the control.
(Inherited from JamBaseShellListView.) | |
HeaderMenuStrip |
Gets or sets the ContextMenuStrip that will be shown if the user rightclicks
on the headerbar.
Get: If it's null, we generate a list of available columns.
(Inherited from JamBaseShellListView.) | |
HeaderRectangle |
Returns the area occupied by the ListView header.
(Inherited from SystemListView.) | |
HideSelection |
Gets or sets a value indicating whether the selected item in the control
remains highlighted when the control loses focus.
(Inherited from SystemListView.) | |
Initialized_Internal |
Internal attribute is used by classes deriving from JamBaseShellListView.
(Inherited from JamBaseShellListView.) | |
InternalColumns |
Gets the columns as JamShellColumnCollection.
(Inherited from JamBaseShellListView.) | |
IsEditing | Gets a value indicating whether this object is currently in edit-mode. (Inherited from JamBaseShellListView.) | |
IsInitialized |
Gets a value indicating whether the component is initialized.
(Inherited from JamBaseShellListView.) | |
IsInitializing |
The value this property is true between the calls BeginInit() and EndInit()
of the ISupportInitialize interface.
(Inherited from JamBaseShellListView.) | |
Items |
Returns a collection containing all ShellListItems in the ShellListView. Items are of type ShellListItem | |
LabelEdit |
Gets or sets a value indicating whether the label text of the list items can be edited.
| |
LargeCustomImages | Gets or sets an ImageList holding images that can be used as custom images in small viewstates. (Inherited from JamBaseShellListView.) | |
LargeImageList | Gets or sets a list of large images. (Inherited from JamBaseShellListView.) | |
ListChangedAfterDragLeave |
Indicates that the list changed after a DragLeave was executed; bug #6536
| |
NoFillOnStartup |
If set to true, the control will not fill automatically after it was created.
The FullRefresh method must be called explicitly.
Since filling shell control with the appropriate items is a costly operation, this
property can be useful to prevent unnecessary refreshes of the control.
(Inherited from JamBaseShellListView.) | |
NumShellColumns |
The number of system columns without the columns added by the user.
(Inherited from JamBaseShellListView.) | |
OwnerDraw |
The value of the OwnerDraw property must always be true. This is why the Property is
reimplemented here. The setting to false is ignored, and a debug message is shown.
| |
PastedFiles | Contains the files that were pasted during a Paste operation. (Inherited from JamBaseShellListView.) | |
Path |
This property allows you to get or set the folder, which contents should be displayed. If you want to display a non file system folder, use the SpecialFolder property.
| |
ReadOnly |
If true, the folder actions changing the contents of the folder are not allowed.
E.g.: Adding, removing or renaming files via context menu, DragDrop, Copy/Paste.
| |
SelectedFiles |
This property provides access to a list of all files including their extension, which
are currently selected in the ShellListView. Dependent on the user settings, the file names
in the ListView may be displayed without extension, which makes it difficult to further
process them when they are accessed only by the SelectedItems
property. You can also use the SelectedFiles property to add files to the selection by using
SelectedFiles.Add method.
(Inherited from JamBaseShellListView.) | |
SelectedFiles_Internal | Simple getter/setter for m_SelectedFiles, for use by deriving classes. (Inherited from JamBaseShellListView.) | |
SelectedItems |
Gets the items that are selected in the control.
| |
ShellBrowser |
Gets or sets the shellbrowser instance.
(Inherited from JamBaseShellListView.) | |
ShellChangeNotifier |
Returns the reference to the ShellChangeNotifier that
is associated with this instance.
(Inherited from JamBaseShellListView.) | |
ShellContextMenu |
Indicates whether the Windows ShellContextMenu should be shown or not.
(Inherited from JamBaseShellListView.) | |
ShellControlConnector |
Connects this control to a ShellControlConnector component, which allows to synchronize several shell controls.
(Inherited from JamBaseShellListView.) | |
ShellDragDrop | Activates/deactivates the internal drag drop handling of the component. (Inherited from SystemListView.) | |
ShowColorCompressed |
If set, compressed files and folders will be shown in that particular Color, show normally otherwise (if null).
| |
ShowColorEncrypted |
If set, encrypted files and folders will be shown in that particular color, show normally otherwise (if null).
| |
ShowContextMenu |
If set to true, the context menu will be shown if a right click event occurs.
(Inherited from JamBaseShellListView.) | |
ShowErrorMessages |
If set to true the ShellList component will show a MessageBox if an error occured,
otherwise the errors will only be logged to the Debug output.
(Inherited from JamBaseShellListView.) | |
ShowExtraLargeIcons |
Obsolete: Use ViewState.ExtraLargeIcons instead.
(Inherited from JamBaseShellListView.) | |
ShowFiles |
If set to true, files will be shown in the control.
If set to false, files will not be visible in the control.
| |
ShowFolders |
The property ShowFolders allows you to include the folders in the ShellListView, similar to FrontPage 2000.
| |
ShowHidden |
Is set to 'true', hidden elements will also be shown.
| |
ShowInfoToolTips |
Whether to show the informational shell tooltips, the default is true
(Inherited from JamBaseShellListView.) | |
ShowNetHood |
If set to 'false', the Network Neighbourhood is not shown in the component,
otherwise it is shown (the default value is true).
| |
ShowOverlayIcons |
If set to 'false', no overlay icons will be shown, which improves the performance of the control.
| |
ShowParentFolder |
Use this property to show an additional folder with the caption '..' that allows the user to navigate to the parent folder of the current folder.
| |
ShowRecycleBin |
If set to true, the recycle bin will be visible. If set to false, the recycle bin will be hidden
(the default value is true).
| |
ShowShellContextMenuOnTop |
If set to to 'true', the shell context menu will be shown on top of the provided popup menu.
If set to 'false', the shell context menu will be shown below the provided popup menu.
The value true is currently not supported. The menu items will be shown correctly, however their Click event cannot be triggered.
(Inherited from JamBaseShellListView.) | |
SmallCustomImages | Gets or sets an ImageList holding images that can be used as custom images in small viewstates. (Inherited from JamBaseShellListView.) | |
SmallImageList | Gets or sets a list of small images. (Inherited from JamBaseShellListView.) | |
SortColumn |
The column according to which the listed objects are sorted.
If this is set to a negative value, sorting is disabled by setting
SortOrder to SortOrder.None, this is useful to
insert large amounts of items, e.g. during a search.
| |
SortColumnShellID |
Gets or sets the current sort order.
(Inherited from JamBaseShellListView.) | |
Sorting |
Gets or sets the sort order for items in the control.
(Inherited from JamBaseShellListView.) | |
SpecialFolder |
SpecialFolder allows you to set or get the type of the currently listed folder.
You can use the ShellFolder constants here.
| |
ThumbnailBorderColor |
Get or set the color of the frame that is drawn around the thumbnails.
If this value is set to null, no frame will be shown.
(Inherited from JamBaseShellListView.) | |
ThumbnailMode | Gets or sets preferences whether to display file icons or thumbnails in the list. (Inherited from JamBaseShellListView.) | |
Thumbnails |
Obsolete: Use ViewState.Thumbnails instead.
(Inherited from JamBaseShellListView.) | |
ThumbnailSize |
Use the ThumbnailSize property to get or set the size in pixels of the thumbnail images.
(Inherited from JamBaseShellListView.) | |
UsedShColumnIds | Obsolete.
Returns an array of the currently used ShColumnIds.
(Inherited from JamBaseShellListView.) | |
UseSlowInfoTip |
If true, the slow tooltip that contains additional information like the folder size is used.
Setting this value to false increases the performance.
(Inherited from JamBaseShellListView.) | |
UseSystemFont |
Set this property to true if you want the component to utilize the default system font.
It is also set to true if the UseSystemStyles property is set.
(Inherited from SystemListView.) | |
UseSystemStyles |
Use this property to turn on or off the usage of the system specific design, i.e. enable Vista visual styles of the explorer components.
(Inherited from SystemListView.) | |
UseThreadPool |
Whether to use the system threadpool to obtain information on listview items.
If this property is false, the complete file detail information is retrieved as
soon as the item is displayed the first time within the listview.
If the property is true thumbnails and icons are fetched in worker threads in the background.
The setting of this property affects the control the next time the FullRefresh method is called.
| |
Version |
The current version of the ShellBrowser.
(Inherited from JamBaseShellListView.) | |
VerticalScrollPos |
Gets or sets the vertical scroll position.
(Inherited from JamBaseShellListView.) | |
View |
Overrides the ListView.View property. Use ViewState instead.
(Inherited from JamBaseShellListView.) | |
ViewState |
Gets or sets how items are displayed in the ShellListView control.
| |
VirtualListSize |
Not supported.
(Inherited from JamBaseShellListView.) | |
VirtualMode |
Not supported.
(Inherited from JamBaseShellListView.) |
Name | Description | |
---|---|---|
AcquireImageIndecesViaThreadPool |
Retrieves the details (mostly images) of the item asynchronously.
| |
AddParentFolderItem |
Add an item ".." which represents the parent folder
| |
AddShellColumn(Int32) |
Adds a shell column to the list view.
(Inherited from JamBaseShellListView.) | |
AddShellColumn(Int32, Int32) | Adds a shell column with the given width to the list view. (Inherited from JamBaseShellListView.) | |
AddShellItem(ItemIdList) | Adds the currently active item of m_ShellBrowser to the list. | |
AddShellItem(ShellBrowser) | Adds the currently active item of m_ShellBrowser to the list. | |
AutoResizeColumn |
Overrides the AutoResizeColumn(Int32, ColumnHeaderAutoResizeStyle) method. A SmartRefresh is called before the auto resize is executed.
| |
AutoResizeColumns |
Overrides the AutoResizeColumn(Int32, ColumnHeaderAutoResizeStyle) method. A SmartRefresh is called before the auto resize is executed.
| |
BaseOnDragDrop |
Calls the original inherited OnDragDrop method.
(Inherited from JamBaseShellListView.) | |
BeforeShellCommandAssigned |
For use by subcontrols, that need to check the availability of the BeforeShellCommand event.
(Inherited from JamBaseShellListView.) | |
BeginInit |
Signals the object that initialization is starting.
(Inherited from JamBaseShellListView.) | |
CanNavigate |
Called, before the ShellList displays a new folder.
Calls the CanNavigate(Object, ItemIdList) implementation if assigned.
| |
ChangeNotificationHandler |
This method gets called by the ShellChangeNotifier object and informs about changes in the current folder.
| |
Clear |
Removes all items and columns from the control.
(Inherited from JamBaseShellListView.) | |
ClearColumns |
Clears the current columns and the header context menu. Please use this method instead of ListView.Columns.Clear()>.
(Inherited from JamBaseShellListView.) | |
Compare |
Compares two ShellListItem objects with their ItemIdList with each other.
(Overrides JamBaseShellListViewCompare(Object, Object).) | |
CompleteDetails |
Completes the details of an item, like image index, sub items etc.
If UseThreadPool is true, the items image index is obtained via a thread pool.
| |
CreateDir |
Creates a new directory in the current folder.
| |
CreateShortcut |
Creates a new shortcut in the current folder.
| |
CustomCompare |
Compares the given items by the content of the subitems at the SortColumn index.
(Inherited from JamBaseShellListView.) | |
DisplayBackgroundContextMenu |
Shows the BackgroundContextMenu if it is non-null.
(Inherited from JamBaseShellListView.) | |
DisplayContextMenu |
Shows the shell context menu for the currently selected items
(Inherited from JamBaseShellListView.) | |
DisplayContextMenu(Point) |
Shows the shell context menu for the currently selected items
(Inherited from JamBaseShellListView.) | |
DisplayHeaderContextMenu | Empty handler of the HeaderRightClick event. This needs to be implemented by the deriving classes. (Inherited from JamBaseShellListView.) | |
Dispose |
Remove reference to ShellControlConnector and implicitely remove this control from the list of known controls of the ShellControlConnector
(Overrides JamBaseShellListViewDispose(Boolean).) | |
DoAutoSizeColumn |
Autosizes the column that is set in AutoSizeColumn.
(Inherited from JamBaseShellListView.) | |
DoBeforeShowContextMenu |
Calls the BeforeShowContextMenu event if assigned.
(Inherited from JamBaseShellListView.) | |
EnableSystemStyles |
Sets system specific behaviour,
i.e. FullRowSelect in Vista and upwards.
(Inherited from SystemListView.) | |
EndInit |
Signals the object that initialization is complete. After this method is called,
IsInitialized is true to indicate the state of the control.
(Overrides JamBaseShellListViewEndInit.) | |
FileChange |
This method should be called if files in the current view have changed.
| |
FinalizeColumnVisibilityChange |
Finalizes the column visibility change. The sort column is checked and the column order updated.
(Inherited from JamBaseShellListView.) | |
FindContextMenuPosition |
finds the position where to display the context menu based
upon the currently selected items and their positions
(Inherited from JamBaseShellListView.) | |
FindItemIdList | Searches for the first list item with the given ItemIdList. (Inherited from JamBaseShellListView.) | |
FindPath | Returns the ListItem for the given path. (Inherited from JamBaseShellListView.) | |
FolderChanged |
Gets called if the active folder should change.
(Overrides JamBaseShellListViewFolderChanged(ItemIdList).) | |
FullRefresh |
Use the FullRefresh method if you want to refresh the contents of a ShellListView. Usually you don't have to call FullRefresh manually.
It will be called automatically, when e.g. the Path, Filter or FilterRegularExpression property changes, or the connected ShellControlConnector reports a change.
(Overrides JamBaseShellListViewFullRefresh.) | |
GetColumnHeaderCollectionType |
Gets the type of the column header collection.
(Inherited from JamBaseShellListView.) | |
GetColumnOrder |
Retrieve the order in which columns appear.
(Inherited from SystemListView.) | |
GetFullPath |
This method returns name, extension and full path of a given ShellListViewItem of a ShellListView.
Since the extensions of the file may be not displayed dependant on the user's settings it is
important that you use FullPath instead of ShellListViewItem.Text.
| |
GetIndexOfShColumnId(SHCOLUMNID) |
Returns the local index for the given ShellColumnID (if the column is existing and visible)
(Inherited from JamBaseShellListView.) | |
GetIndexOfShColumnId(SHCOLUMNID, Boolean) |
Returns the local index for the given ShellColumnID.
(Inherited from JamBaseShellListView.) | |
GetItemCollectionType |
Gets the type of the Item Collection. It is used to create the correct JamBaseShellListViewShellListViewItemCollectionT for the inheriting classes.
(Overrides JamBaseShellListViewGetItemCollectionType.) | |
GetListViewItemSorter | Returns the Comparer to be used when the list is sorted. (Overrides JamBaseShellListViewGetListViewItemSorter.) | |
GetSelectedItemCollectionType |
Gets the type of the Selected Item Collection. It is used to create the correct JamBaseShellListViewShellListViewSelectedItemCollectionT for the inheriting classes.
(Overrides JamBaseShellListViewGetSelectedItemCollectionType.) | |
GetSelectedItemIdLists | Gets the items the command will be executed upon. (Inherited from JamBaseShellListView.) | |
GetSubItemBounds |
Retrieve the bounds of a ListViewSubItem
(Inherited from SystemListView.) | |
GetUIObject |
Returns for the currently selected item a COM object that implements the requested interface
(Overrides JamBaseShellListViewGetUIObject(Guid).) | |
GoUp |
Goes up one directory level.
(Overrides JamBaseShellListViewGoUp.) | |
HideColumn |
Hides the column with the passed SHCOLUMNID.
(Inherited from JamBaseShellListView.) | |
InformPathChanged |
Notifies connected controls that the active path of this control has changed
| |
InitColumns |
Prepares the columns according to the currently active folder.
If the user set custom columns, these are shown too.
(Overrides JamBaseShellListViewInitColumns.) | |
InvalidateSortColumns | For internal use: invalidates the current sort column. (Inherited from JamBaseShellListView.) | |
InvokeCommandOnFolder |
Invokes the given command on the currently listed folder.
| |
InvokeCommandOnSelected |
Invokes the given command on the selected items.
See ShellCommand class for a list of possible commands.
(Inherited from JamBaseShellListView.) | |
InvokeCommandOnSelectedReadOnly |
Guarding/helper method for InvokeCommandOnSelected(ShellCommand) suppressing exceptions when executing commands that don't work in readonly mode.
(Inherited from JamBaseShellListView.) | |
IsColumnVisible(Int32) |
Returns whether the given column id is currently visible or not.
(Inherited from JamBaseShellListView.) | |
IsColumnVisible(SHCOLUMNID) |
Returns whether the given SHColumnId is currently visible or not.
(Inherited from JamBaseShellListView.) | |
IsColumnVisibleByDefault |
Determines whether the column with the specified shellcolumnId is a column shown by default.
(Inherited from JamBaseShellListView.) | |
IsCustomColumn |
Checks whether the given column index is a custom or shell column
(Inherited from JamBaseShellListView.) | |
IsEmpty |
Checks if the list is empty.
(Inherited from JamBaseShellListView.) | |
ItemOfPidl |
Returns the ListItem for the given ItemIdList
(Inherited from JamBaseShellListView.) | |
LogError(String) |
Error method that displays an error messagebox if the
property ShowErrorMessages is set.
The message is always written to the debug output stream
(Inherited from JamBaseShellListView.) | |
LogError(String, Exception) |
Error method that displays an error messagebox if the
property ShowErrorMessages is set.
The message is always written to the debug output stream
(Inherited from JamBaseShellListView.) | |
OnAddItem |
Fires an event if an item is added to the list.
| |
OnAfterInvokeCommand | Is called after the command has been called. (Overrides JamBaseShellListViewOnAfterInvokeCommand(ShellCommandEventArgs).) | |
OnAfterLabelEdit |
Override the OnAfterLabelEdit event, to rename files or folders in the file system, when the have been renamed in the ShellListView.
(Inherited from JamBaseShellListView.) | |
OnBeforeFullRefresh |
Fires the BeforeFullRefresh event
| |
OnBeforeInvokeCommand |
Allows deriving classes to handle the command internally in
InvokeCommandOnSelected(ShellCommand).
(Overrides JamBaseShellListViewOnBeforeInvokeCommand(BeforeShellCommandEventArgs).) | |
OnBeforeLabelEdit |
Override the OnBeforeLabelEdit event, to prepare renaming a file or folder in the ShellListView.
(Inherited from JamBaseShellListView.) | |
OnBeforeShellColumnChanged |
Calls the BeforeShellColumnChanged event if it is assigned.
(Inherited from JamBaseShellListView.) | |
OnBeforeShellDrop |
Calls the BeforeShellDrop event if it is assigned.
(Inherited from JamBaseShellListView.) | |
OnBeforeShowContextMenu | Calls the BeforeShowContextMenu event. (Inherited from JamBaseShellListView.) | |
OnCheckStateChanged |
Fires an event if the CheckState of an item has changed.
(Inherited from JamBaseShellListView.) | |
OnColumnClick |
Sort the column, which is clicked.
(Inherited from JamBaseShellListView.) | |
OnColumnWidthChanged |
Tracks column widths. Raises the System.Windows.Forms.ListView.ColumnWidthChanged event.
(Inherited from JamBaseShellListView.) | |
OnColumnWidthChanging |
Prevents changes at designtime.
Raises the ColumnWidthChanging event.
(Inherited from JamBaseShellListView.) | |
OnCreateColumns |
Fires an event after the columns have been created
(Inherited from JamBaseShellListView.) | |
OnCreateControl |
Raises the CreateControl method.
(Inherited from JamBaseShellListView.) | |
OnDoubleClick |
Override the OnDoubleClick event to try to perform the default action for the selected object.
(Overrides ControlOnDoubleClick(EventArgs).) | |
OnDragDrop |
This member overrides OnDragDrop(DragEventArgs) (Overrides JamBaseShellListViewOnDragDrop(DragEventArgs).) | |
OnDragEnter |
This member overrides OnDragEnter(DragEventArgs) and adds drag images and cursors.
(Inherited from JamBaseShellListView.) | |
OnDragLeave |
This member overrides OnDragLeave(EventArgs) (Overrides JamBaseShellListViewOnDragLeave(EventArgs).) | |
OnDragOver |
This member overrides OnDragOver(DragEventArgs) (Overrides JamBaseShellListViewOnDragOver(DragEventArgs).) | |
OnDrawColumnHeader |
This member overrides OnDrawColumnHeader(DrawListViewColumnHeaderEventArgs).
(Overrides ListViewOnDrawColumnHeader(DrawListViewColumnHeaderEventArgs).) | |
OnDrawItem |
This member overrides OnDrawItem(DrawListViewItemEventArgs).
(Overrides ListViewOnDrawItem(DrawListViewItemEventArgs).) | |
OnDrawSubItem |
This member overrides OnDrawSubItem(DrawListViewSubItemEventArgs).
(Overrides ListViewOnDrawSubItem(DrawListViewSubItemEventArgs).) | |
OnHandleCreated |
Handles the OnHandleCreated event and e.g. initializes the image list
(Inherited from JamBaseShellListView.) | |
OnHandleDestroyed | Tracks the handle destruction. (Inherited from JamBaseShellListView.) | |
OnHeaderContextMenuClick |
Eventhandler for a HeaderContextMenuClick.
(Inherited from JamBaseShellListView.) | |
OnHeaderRightClick |
Raises the HeaderRightClick-Event
(Inherited from SystemListView.) | |
OnItemChecked | Calls raising of the OnItemCheckedEvent. (Inherited from JamBaseShellListView.) | |
OnItemDrag |
This member overrides OnItemDrag(ItemDragEventArgs) (Overrides JamBaseShellListViewOnItemDrag(ItemDragEventArgs).) | |
OnItemShowToolTip | This method is extended to show tool tip texts of the particular shell objects. (Inherited from JamBaseShellListView.) | |
OnKeyDown |
Override the OnKeyDown event, to handle e.g. the key press like F2, F5, copy, paste, etc.
(Overrides ControlOnKeyDown(KeyEventArgs).) | |
OnLoadItem |
Calls the LoadItem event with the passed parameters.
(Inherited from JamBaseShellListView.) | |
OnMouseDown |
Raises the System.Windows.Forms.Control.MouseDown event.
(Inherited from JamBaseShellListView.) | |
OnMouseUp |
Overrides the OnMouseUp event, to handle e.g. double clicks and right clicks on files or folders
and the selection of files or folders, when the CheckBoxes are switched on.
(Overrides JamBaseShellListViewOnMouseUp(MouseEventArgs).) | |
OnNavigationFailed |
Fires the NavigationFailed event.
| |
OnNotifyMessage |
This method is called if a notification event is performed on the message
pump WndProc(Message) (Inherited from SystemListView.) | |
OnOperation(ShellOperation, PathCollection, String, Exception) |
Fires an event if an operation was performed on the JamBaseShellListView.
(Inherited from JamBaseShellListView.) | |
OnOperation(ShellOperation, StringCollection, String, Exception) |
Helper function for OnOperation(ShellOperation, PathCollection, String, Exception)
to avoid type conversion.
(Inherited from JamBaseShellListView.) | |
OnPathChanged |
Fires the PathChanged event
| |
OnPopulated |
Fires the Populated event
| |
OnResize |
Raises the OnResize event.
(Inherited from JamBaseShellListView.) | |
OnSelectionChanged |
Raises the SelectionChanged event.
| |
OnShowOptionChanged | Calls the ShowOptionChanged event if it is assigned. (Inherited from JamBaseShellListView.) | |
PrepareMultiObjects | Obsolete.
Prepares the selected items in the list for being used with the m_ShellBrowser, an instance of ShellBrowser.
(Inherited from JamBaseShellListView.) | |
PreserveSystemStyle |
This method preserves the Windows Vista light blue selection line if UseSystemStyles is on.
The Setting is lost if e.g. a column is clicked to sort things.
(Inherited from SystemListView.) | |
Refresh(RefreshLevel) | This method indicates that the control should perform a refresh of its contents. (Inherited from JamBaseShellListView.) | |
Refresh(RefreshLevel, ItemIdList) | This method indicates that the control should perform a refresh of its contents. (Inherited from JamBaseShellListView.) | |
RemoveItemFromList |
Removes the list element from the list
(Inherited from JamBaseShellListView.) | |
ResetColumns |
Resets the columns to the initial state.
(Inherited from JamBaseShellListView.) | |
ResetItems |
Resets the items and their subitems.
(Inherited from JamBaseShellListView.) | |
RestoreItemSelection | Restores the selection and checkstate of the item. (Inherited from JamBaseShellListView.) | |
RestoreState | Counterpart of SaveState. Restores properties and possibly contents of the ListView. (Inherited from JamBaseShellListView.) | |
SaveCheckedItems | Saves the checked items. (Inherited from JamBaseShellListView.) | |
SaveColumnSettings | Saves the column settings. (Inherited from JamBaseShellListView.) | |
SaveSelection | Saves the current selection and checked items to a temporary List. (Inherited from JamBaseShellListView.) | |
SaveState | Saves the column properties of the current view, so that it can be restored later. (Inherited from JamBaseShellListView.) | |
ScaleControl | Scales a control's location, size, padding and margin. (Overrides JamBaseShellListViewScaleControl(SizeF, BoundsSpecified).) | |
SelectAll | Use SelectAll to select or unselect all items in a JamShellList. | |
SelectAllItemsInternal | Selects all items. (Inherited from JamBaseShellListView.) | |
SelectedFileChange |
Gets called if the selected file should change.
(Overrides JamBaseShellListViewSelectedFileChange(ItemIdList).) | |
SelectPidl(ItemIdList) |
Selects the ListItem that corresponds to the given ItemIdList.
(Inherited from JamBaseShellListView.) | |
SelectPidl(ItemIdList, Boolean) |
Selects the ListItem that corresponds to the given ItemIdList.
(Inherited from JamBaseShellListView.) | |
SetColumnBitmap |
Set the sort icon among the current sort order in the passed column.
(Inherited from SystemListView.) | |
SetColumnOrder |
Sets the order in which columns appear.
(Inherited from SystemListView.) | |
SetColumnVisibility(Int32, Boolean) |
Sets the visibility of a column.
(Inherited from JamBaseShellListView.) | |
SetColumnVisibility(SHCOLUMNID, Boolean) |
Sets the visibility of a column.
(Inherited from JamBaseShellListView.) | |
SetFont |
Sets the font without adjusting other properties.
(Inherited from SystemListView.) | |
SetSortOrder(SHCOLUMNID) | Sets and applies the SortColumn in ascending. (Inherited from JamBaseShellListView.) | |
SetSortOrder(SHCOLUMNID, SortOrder) | Sets and applies the sortrder. (Inherited from JamBaseShellListView.) | |
ShowColumn |
Shows the column with the passed ShellColumnId.
(Inherited from JamBaseShellListView.) | |
SmartRefresh |
Use the SmartRefresh to update the contents of a ShellListView.
(Overrides JamBaseShellListViewSmartRefresh.)Remarks In comparison to the FullRefresh method, SmartRefresh is much faster,
but only removes objects which have been deleted and adds objects which have been added.
It does not update changed file sizes or dates. Usually this method will be called automatically,
when a file was added or deleted.
| |
Sort |
Sorts the items in the list according to SortColumn and SortOrder.
This sortorder can be replaced by assigning a IComparer to property ListViewItemSorter | |
UpdateColumnBitmaps |
Updates the sort icon in the column of the ShellListView.
(Inherited from JamBaseShellListView.) | |
UpdateSubitemsAfterColumnGetsVisible |
Loads subitems for a column that has been added at the passed position.
(Inherited from JamBaseShellListView.) | |
WndProc |
Overrides
WndProc(Message).
(Inherited from JamBaseShellListView.) |
Name | Description | |
---|---|---|
AddItem |
This event is fired whenever a new item is added to a ShellListView.
| |
BeforeFullRefresh |
This event is fired when a FullRefresh has been executed.
| |
BeforeInvokeCommandOnSelected |
Assign this event to be able to control the behaviour of the control
when the user double-clicks on an item to start the default action
(Inherited from SystemListView.) | |
BeforeShellColumnChanged |
This event is fired when a column is selected/deselected from the context menu of the list header.
(Inherited from JamBaseShellListView.) | |
BeforeShellCommand |
This event is fired when a shell command is to be executed, ie. via the context menu
It is possible to permit the execution of the shell command by modifying the BeforeShellCommandEventArgs
(Inherited from JamBaseShellListView.) | |
BeforeShellDrop |
This event is fired before a ListView that inherits from JamBaseShellListView executes a shell drop.
(Inherited from JamBaseShellListView.) | |
BeforeShowContextMenu |
This event is called before the ShellContextMenu is displayed.
You may use it to cancel the context menu appearing or to modify the custom menu entries in the ContextMenuStrip.
(Inherited from JamBaseShellListView.) | |
CheckStateChanged |
This event is fired when the state of a checkbox was changed by the user or if it was changed internally via checkstate synchronization of other controls.
(Inherited from JamBaseShellListView.) | |
CreatedColumns |
This event is fired after the columns were created.
(Inherited from JamBaseShellListView.) | |
HeaderRightClick |
The event is triggered when the user right clicks on the column headers.
(Inherited from SystemListView.) | |
Initialized |
This event is fired after the initialization of the component.
(Inherited from JamBaseShellListView.) | |
ItemChecked | Occurs when the checked state of an item was changed by the user. (Inherited from JamBaseShellListView.) | |
ItemShowToolTip |
This event occurs if the user moved the mouse over a listview item so a tooltip can appear,
this event also occurs if no ToolTipText is set, it can be added
dynamically.
(Inherited from SystemListView.) | |
LoadItem |
This event is called, when the data for an item is loaded.
(Inherited from JamBaseShellListView.) | |
NavigationFailed |
Called, when navigation to a specific folder cannot be executed (because it doesn't exist or because access is denied).
| |
OperationPerformed |
This event is fired after a JamBaseShellListView executed a shell operation like copying.
(Inherited from JamBaseShellListView.) | |
PathChanged |
This event is fired when the users changes the path.
| |
Populated |
This event is fired after a ShellListView was filled completely.
| |
SelectionChanged |
Event that is raised shortly after the selection in the control has been changed.
| |
ShowOptionChanged |
This event is fired after a display option, like e.g. the ViewState changed.
(Inherited from JamBaseShellListView.) | |
ThumbnailUpdated | This event is fired for each item in Thumbnail view. It can be used to update the thumbnail. (Inherited from JamBaseShellListView.) |
Name | Description | |
---|---|---|
m_InitialSortColumnIndex | Zero-based index of the initial sort column. -2 means: Default value not overriden or already applied (Inherited from JamBaseShellListView.) | |
m_SortColumnIndex |
The current sort order as index of column.
(Inherited from JamBaseShellListView.) | |
m_SortColumnShellIndex |
The shell index of the sort column. Default is 0 - the name column.
(Inherited from JamBaseShellListView.) | |
m_SortOrder |
The initial sort order.
(Inherited from JamBaseShellListView.) |
Name | Description | |
---|---|---|
HandleNeeded | A Control extension method that ensures that the handle for a control is created. (Defined by ExtensionMethods.) | |
ScaledPixels | An extension method for controls: It scales the passed pixels according to the current dpi the control is displayed with. (Defined by ExtensionMethods.) | |
ScaleFont | A Control extension method that scales font according to the passed factor. (Defined by ExtensionMethods.) |