ShellContextMenuProvider Class |
Namespace: Jam.Shell.WPF.Controls
The ShellContextMenuProvider type exposes the following members.
| Name | Description | |
|---|---|---|
| ShellContextMenuProvider(ItemIdList) | Creates a context menu for the passed ItemIdList. | |
| ShellContextMenuProvider(JamItemIdListCollection) |
Creates a context menu for the passed JamItemIdListCollection.
|
| Name | Description | |
|---|---|---|
| AsyncOperation | Gets or sets a value indicating whether context menu operations are executed asynchronously. (Inherited from Win32ShellContextMenuProvider.) | |
| CustomMenu | Gets or sets the custom menu. | |
| ShellMenuStartsAt | Gets or sets a position of the first item of the shell menu. (Inherited from Win32ShellContextMenuProvider.) | |
| ShowShellContextMenuOnTop |
Defines the order of ShellContextMenu and CustomMenu.
| |
| SourceItems | Gets or sets source items. (Inherited from Win32ShellContextMenuProvider.) |
| Name | Description | |
|---|---|---|
| AfterCommandExecute |
This event is fired after a command that was selected from the context menu or passed to
ExecuteCommand(ShellContextMenuCommand) is processed.
(Inherited from Win32ShellContextMenuProvider.) | |
| BeforeCommandExecute |
This event is fired before a command that was selected from the context menu or passed to
ExecuteCommand(ShellContextMenuCommand) is processed.
(Inherited from Win32ShellContextMenuProvider.) | |
| RenameItemSelected |
This event is fired when the context menu option "Rename" is selected from the context menu or passed to ExecuteCommand(ShellContextMenuCommand).
(Inherited from Win32ShellContextMenuProvider.) |
new ShellContextMenuProvider(new ItemIdList(@"c:\windows").ExecuteCommand(ShellContextMenuCommand.Open);