Click or drag to resize

Win32ShellContextMenuProvider Class

Class that allows to show and execute shell context menus.
Inheritance Hierarchy

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

The Win32ShellContextMenuProvider type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyAsyncOperation
Gets or sets a value indicating whether context menu operations are executed asynchronously.
Protected propertyShellMenuStartsAt
Gets or sets a position of the first item of the shell menu.
Public propertySourceItems
Gets or sets source items.
Top
Methods
  NameDescription
Protected methodCreatePopupMenu
Creates popup menu.
Public methodExecuteCommand(ShellCommand)
Executes the command operation on the SourceItems .
Public methodExecuteCommand(ShellContextMenuCommand) Obsolete.
Executes the command operation on the SourceItems.
Protected methodStatic memberGetMenuCaption
Gets menu caption.
Protected methodHandleMenuItem
Handles the menu item described by pCommandId.
Protected methodOnAfterCommandExecute
Executes the AfterCommandExecute event.
Protected methodOnBeforeCommandExecute
Executes the BeforeCommandExecute event.
Protected methodOnRenameItemSelected
Fires the RenameItemSelected event
Protected methodRelease
Releases 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