Click or drag to resize

BackgroundContextMenu Class

This class provides most of the default background context menu functionality from the windows explorer.
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    System.ComponentModelComponent
      System.Windows.FormsControl
        System.Windows.FormsScrollableControl
          System.Windows.FormsToolStrip
            System.Windows.FormsToolStripDropDown
              System.Windows.FormsToolStripDropDownMenu
                System.Windows.FormsContextMenuStrip
                  Jam.ShellBackgroundContextMenu

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

The BackgroundContextMenu type exposes the following members.

Constructors
 NameDescription
Public methodBackgroundContextMenu Initializes a new instance of the BackgroundContextMenu class.
Top
Properties
 NameDescription
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.
Top
Methods
 NameDescription
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
Top
Extension Methods
 NameDescription
Public Extension MethodGetSelfAndDescendants Returns a flattened collection of a control and all of its descendant controls.
(Defined by ExtensionMethods)
Public Extension MethodHandleNeededA Control extension method that ensures that the handle for a control is created.
(Defined by ExtensionMethods)
Public Extension MethodScaledPixelsAn extension method for controls: It scales the passed pixels according to the current dpi the control is displayed with.
(Defined by ExtensionMethods)
Public Extension MethodScaleFontA Control extension method that scales font according to the passed factor.
(Defined by ExtensionMethods)
Top
See Also