Click or drag to resize

BackgroundContextMenu Class

This class provides most of the default background context menu functionality from the windows explorer.
Inheritance Hierarchy

Namespace:  Jam.Shell
Assembly:  ShellBrowser (in ShellBrowser.dll) Version: 7.1
public class BackgroundContextMenu : ContextMenuStrip

The BackgroundContextMenu type exposes the following members.

Public methodBackgroundContextMenu
Initializes a new instance of the BackgroundContextMenu class.
Public propertyActualize
The ToolStripItem 'refresh'
Public propertyArrangeIcons
Returns the dynamic collection of ToolStripItems for the sortable columns.
Public propertyArrangeIconsString
The localizable string of the sort entry in the menu. Unfortunately we cannot provide a windows shell default string for this.
Public propertyInsert
Contains the ToolStripItem 'paste'
Public propertyInsertAsLink
The toolstrip item to insert a link to file(s) on the the clipboard, this functionality is not yet available, hence the items is not added to the background context menu per default.
Public propertyListView
Gets or sets the listview this context menu is associated with
Protected propertyNewFileFolder
The drop down menu item containing the new NewFolder item.
Protected propertyNewFolder
The menu item to create a new folder in the current directory
Protected propertyNewShortcut
The menu item to create a new shortcut in the current directory
Protected propertyProperties
Returns the "Properties" toolstrip menu item
Public propertyView
Returns the collection ToolStripItems for different view modes.
Public methodStatic memberCheckFileName
Check if given filename already exists in given path. If true, tries adding a (1), (2), (3) or (4). If they exist too, it returns an empty string.
Protected methodDispose
Releases the unmanaged resources used by the ContextMenuStrip and optionally releases the managed resources.
(Overrides ContextMenuStripDispose(Boolean).)
Protected methodOnOpening
Raises the Opening event.
(Overrides ToolStripDropDownOnOpening(CancelEventArgs).)
Protected methodSetupMenuItems
Sets up the menu items.
Public methodStatic memberStartProcess
Run a command with the given arguments
Extension Methods
Public Extension MethodHandleNeeded
A Control extension method that ensures that the handle for a control is created.
(Defined by ExtensionMethods.)
Public Extension MethodScaledPixels
An extension method for controls: It scales the passed pixels according to the current dpi the control is displayed with.
(Defined by ExtensionMethods.)
Public Extension MethodScaleFont
A Control extension method that scales font according to the passed factor.
(Defined by ExtensionMethods.)
See Also