Click or drag to resize

Win32ShellContextMenuProvider Class

Class that allows to show and execute shell context menus.
Inheritance Hierarchy
SystemObject
  Jam.ShellWin32ShellContextMenuProvider
    Jam.ShellShellContextMenuProvider

Namespace: Jam.Shell
Assembly: ShellBrowser.Core (in ShellBrowser.Core.dll) Version: 7.2
Syntax
public abstract class Win32ShellContextMenuProvider

The Win32ShellContextMenuProvider type exposes the following members.

Constructors
 NameDescription
Protected methodWin32ShellContextMenuProviderDefault constructor.
Protected methodWin32ShellContextMenuProvider(ItemIdList)Creates a context menu for the passed ItemIdList.
Protected methodWin32ShellContextMenuProvider(JamItemIdListCollection) Creates a context menu for the passed JamItemIdListCollection.
Top
Properties
 NameDescription
Public propertyAsyncOperationGets or sets a value indicating whether context menu operations are executed asynchronously.
Protected propertyShellMenuStartsAtGets or sets a position of the first item of the shell menu.
Public propertySourceItemsGets or sets source items.
Top
Methods
 NameDescription
Protected methodCreatePopupMenuCreates popup menu.
Public methodExecuteCommand(ShellCommand)Executes the command operation on the SourceItems .
Public methodExecuteCommand(ShellContextMenuCommand) Executes the command operation on the SourceItems.
Obsolete
Protected methodStatic memberGetMenuCaptionGets menu caption.
Protected methodHandleMenuItemHandles the menu item described by pCommandId.
Protected methodOnAfterCommandExecuteExecutes the AfterCommandExecute event.
Protected methodOnBeforeCommandExecuteExecutes the BeforeCommandExecute event.
Protected methodOnRenameItemSelected Fires the RenameItemSelected event
Protected methodReleaseReleases this object.
Public methodShowContextMenu Shows the context menu at the specified location and executes the menu item the user has chosen.
Top
Events
 NameDescription
Public eventAfterCommandExecute This event is fired after a command that was selected from the context menu or passed to ExecuteCommand(ShellContextMenuCommand) is processed.
Public eventBeforeCommandExecute This event is fired before a command that was selected from the context menu or passed to ExecuteCommand(ShellContextMenuCommand) is processed.
Public eventRenameItemSelected This event is fired when the context menu option "Rename" is selected from the context menu or passed to ExecuteCommand(ShellContextMenuCommand).
Top
See Also