Click or drag to resize

FileList Events

The FileList type exposes the following members.

Events
  NameDescription
Public eventCode exampleAddItem
This event is fired if a file is to be added to the listview. It is possible to change details of the item or to prevent adding the file by setting the CanAdd flag in the AddItemEventArgs to false.
(Inherited from CustomFileListT.)
Public eventBeforeInvokeCommandOnSelected
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.)
Public eventBeforeShellColumnChanged
This event is fired when a column is selected/deselected from the context menu of the list header.
(Inherited from JamBaseShellListView.)
Public eventCode exampleBeforeShellCommand
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.)
Public eventBeforeShellDrop
This event is fired before a ListView that inherits from JamBaseShellListView executes a shell drop.
(Inherited from JamBaseShellListView.)
Public eventCode exampleBeforeShowContextMenu
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.)
Public eventCheckStateChanged
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.)
Public eventClearItems
This event occurs if the FileList is cleared by calling the clear() method.
(Inherited from CustomFileListT.)
Public eventCode exampleCreatedColumns
This event is fired after the columns were created.
(Inherited from JamBaseShellListView.)
Public eventHeaderRightClick
The event is triggered when the user right clicks on the column headers.
(Inherited from SystemListView.)
Public eventInitialized
This event is fired after the initialization of the component.
(Inherited from JamBaseShellListView.)
Public eventItemChecked
Occurs when the checked state of an item was changed by the user.
(Inherited from JamBaseShellListView.)
Public eventItemListChanged
This event occurs if the FileList changed, ie. an item was removed, added or the list is cleared.
(Inherited from CustomFileListT.)
Public eventItemShowToolTip
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.)
Public eventLoadItem
This event is called, when the data for an item is loaded.
(Inherited from JamBaseShellListView.)
Public eventOperationPerformed
This event is fired after a JamBaseShellListView executed a shell operation like copying.
(Inherited from JamBaseShellListView.)
Public eventRemoveItem
This event is issued if a file is removed from the listview.
(Inherited from CustomFileListT.)
Public eventSearchCompleted
This event is fired when a search operation is complete, has been cancelled, or an exception has been thrown.
Public eventSearchExceptionOccurred
This event is fired everytime an exception occurs when a single item is processed during the search process. It is possible to handle or ignore the exception and mark this in the SearchExceptionEventArgs If e.g. the exception is permanent and is left unhandled the search will cancel, a SearchCompleted event will immediately follow which passes the Exception in the event args again, so it can be finally handled.
Public eventSearchFileMatches
Register to this event if you want to further investigate the files the component examines. In the FileMatchEventArgs you have access to the Filename and can explicitly specify whether the file matches, e.g. after you performed a pattern match within the data of the file.
Public eventSearchProgressChanged
This event is fired everytime the progress of the searcher changes, that is when new items are filled to the FileList.
Public eventShowOptionChanged
This event is fired after a display option, like e.g. the ViewState changed.
(Inherited from JamBaseShellListView.)
Public eventSizeOrCountRefreshed
This event occurs if the FileList.TotalFileCount or FileList.TotalFileSize were refreshed.
Public eventCode exampleThumbnailUpdated
This event is fired for each item in Thumbnail view. It can be used to update the thumbnail.
(Inherited from JamBaseShellListView.)
Top
See Also