ShellListView Class |
Namespace: Jam.Shell.WPF.Controls.Winforms
The ShellListView type exposes the following members.
Name | Description | |
---|---|---|
ShellListView | Default constructor. |
Name | Description | |
---|---|---|
AllowDrag |
Use this property to turn on or off drag support with the Windows Explorer.
| |
AutomaticRefresh |
Enables the automatic refreshes of the control, e.g. when a file is added or deleted in the current directory.
| |
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.
| |
BackgroundContextMenu |
Gets or sets the ContextMenu that is displayed if no item of the
listview is under the cursor if the user clicks the right mouse button.
| |
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.
| |
Columns |
Gets the collection of all column headers that appear in the control.
| |
ContextMenuRenderMode | Gets or sets the ToolStripRenderMode of the BackgroundContextMenu and the HeaderContextMenu. | |
Control | Returns the Winforms control wrapped by this instance. This might be necessary to access other properties not exposed by this wrapper. | |
CopyMode |
Copy mode allows you to control the behaviour when files or folders get dropped.
| |
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'.
| |
FolderIdList |
FolderIdList contains a pointer to the ItemIdList of the current folder. This is a dependency property.
| |
FullRowSelect | Gets or sets a value indicating whether clicking an item selects all its subitems. | |
HeaderContextMenu |
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.
| |
HideSelection |
Gets or sets a value indicating whether the selected item in the control
remains highlighted when the control loses focus.
| |
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.
| |
NoFillOnStartup |
If set to true, the control will not fill automatically after it was created.
| |
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.
| |
SelectedFiles |
This property provides access to a list of all files including their extension, which
are currently selected in the ShellListView. You can also use the SelectedFiles property to add files to the selection by using
SelectedFiles.Add method.
| |
SelectedIndices | Gets the selected indices. | |
SelectedItemIdLists | Gets the ItemIdLists that are currently selected. | |
SelectedItems |
Gets the items that are selected in the control.
| |
ShellContextMenu |
Indicates whether the Windows ShellContextMenu should be shown or not.
| |
ShellControlConnector |
Connects this control to a ShellControlConnector component, which allows to synchronize several shell controls.
| |
ShellDragDrop | Activates/deactivates the internal drag drop handling of the component. | |
ShowContextMenu |
If set to true, the context menu will be shown if a right click event occurs.
| |
ShowErrorMessages |
If set to true, messages boxes will be shown to the user for errors that occured.
If set to false, errors will be handled as well, but no message will be shown to the user.
| |
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 be shown too.
| |
ShowInfoToolTips |
Whether to show the informational shell tooltips, the default is true
| |
ShowNetHood |
If set to 'false', the Network Neighbourhood will be hidden.
| |
ShowOverlayIcons |
If set to 'false', no overlay icons will be show, 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 recycly bin will be visible. If set to false, the recycle bin will be hidden.
| |
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.
| |
SortColumn | ||
Sorting |
Gets or sets the sort order for items in the control.
| |
SpecialFolder | Gets or sets the selected special folder. | |
ThumbnailSize |
Use the ThumbnailSize property to get or set the size in pixels of the thumbnail images.
| |
UseSlowInfoTip |
If true, the slow tooltip that contains additional information like the folder size is used.
Setting this value to false increases the performance.
| |
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.
| |
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.
| |
Version |
The current version of the ShellBrowser.
(Inherited from JamWindowsFormsHost.) | |
ViewState |
Gets or sets how items are displayed in the ShellListView control. This is a dependency property.
| |
WrappedControl | Gets or sets the control hosted by this instance. (Inherited from JamWindowsFormsHost.) |
Name | Description | |
---|---|---|
AfterInit |
Must be called in "Initialized" eventhandler. Applies some common WPF settings to
Windows.Forms.Control.
(Overrides JamWindowsFormsHostAfterInit.) | |
ApplyBackGround | Applies the backround. (Inherited from JamWindowsFormsHost.) | |
ApplyFontSettings | Applies the font settings. (Inherited from JamWindowsFormsHost.) | |
ApplyForeGround | If possible, sets the ForeColor property of the inner control to the Foreground property of the wrapper. (Inherited from JamWindowsFormsHost.) | |
FullRefresh |
Executes a full refresh of the contents of the control.
(Inherited from JamWindowsFormsHost.) | |
GoUp | (Inherited from JamWindowsFormsHost.) | |
OnPropertyChanged | Forces the translation of a mapped property. (Overrides JamWindowsFormsHostOnPropertyChanged(DependencyPropertyChangedEventArgs).) | |
Refresh(RefreshLevel) | This method indicates that the control should perform a refresh of its contents. (Inherited from JamWindowsFormsHost.) | |
Refresh(RefreshLevel, ItemIdList) | This method indicates that the control should perform a refresh of its contents. (Inherited from JamWindowsFormsHost.) | |
SmartRefresh |
Executes a smart refresh of the contents of the control.
(Inherited from JamWindowsFormsHost.) |
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 | Obsolete.
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
| |
BeforeShellColumnChanged |
This event is fired when a column is selected/deselected from the context menu of the list header.
| |
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
| |
BeforeShellDrop |
This event is fired before a shell item is dropped on the list. For details see BeforeShellDrop.
| |
CheckStateChanged |
This event is fired when the state of a checkbox was changed by the user.
| |
ControlInitialized |
Occurs when initialization of the component is completed.
| |
CreatedColumns |
This event is fired after the columns were created.
| |
ItemChecked | Occurs when the checked state of an item was changed by the user. | |
ItemShowToolTip | ||
OperationPerformed |
This event is fired after a JamBaseShellListView executed a shell operation like copying.
| |
PathChanged |
This event is fired when the users changes the path.
| |
Populated |
This event is fired after a ShellListView was filled completely.
| |
SelectionChanged | Occurs when the selection of the ShellListView changes. |
Name | Description | |
---|---|---|
FolderIdListProperty |
The DependencyProperty for FolderIdList.
| |
SelectionChangedEvent | Identifies the SelectionChanged routed event. | |
ViewStateProperty |
Identifies the ViewState dependency property.
|
shellList.Control.CreateDir("", false)