Menu Class |
Namespace: ShellBoost.Core.WindowsShell
public sealed class Menu : IDisposable
The Menu type exposes the following members.
| Name | Description | |
|---|---|---|
| AllItems |
Gets all child items.
| |
| Items |
Gets the menu items.
| |
| NativeObject |
Gets the underlying Shell native object (IContextMenu2).
|
| Name | Description | |
|---|---|---|
| ContextFromIDList(IntPtr, BuildMenuOptions, IBindCtx, CMF, Object, Boolean) |
Gets the context menu from a PIDL.
| |
| ContextFromIDList(IWithIdList, BuildMenuOptions, IBindCtx, CMF, Object, Boolean) |
Gets the context menu from a PIDL.
| |
| ContextFromItem |
Gets the context menu from a shell item.
| |
| CreateContextMenu(Guid, IWithIdList, ContextMenuOptions, Boolean) |
Creates a native IContextMenu COM server for a given PIDL.
| |
| CreateContextMenu(Guid, IDataObject, ContextMenuOptions, Boolean) |
Creates a native IContextMenu COM server for a given data object.
| |
| CreateContextMenu(Guid, IWithIdList, Menu, ContextMenuOptions, Boolean) |
Creates a native IContextMenu COM server for a given PIDL.
| |
| CreateContextMenu(Guid, IDataObject, Menu, ContextMenuOptions, Boolean) |
Creates a native IContextMenu COM server for a given data object.
| |
| CreateDefaultContextMenu(IEnumerableIWithIdList, ContextMenuOptions, Boolean) |
Creates the default context menu for a list of PIDLs.
| |
| CreateDefaultContextMenu(IWithIdList, ContextMenuOptions, Boolean) |
Creates the default context menu for a PIDL.
| |
| CreateDefaultContextMenu(IEnumerableIWithIdList, Menu, ContextMenuOptions, Boolean) |
Creates the default context menu for a list of PIDLs.
| |
| CreateNewItem |
This utility method invokes the shell 'New' menu and creates a new file or folder corresponding to a Shell-initiated item invoke.
| |
| CreateNewMenu(IDataObject, ContextMenuOptions, Boolean) |
Creates the 'New' menu for a given data object.
| |
| CreateNewMenu(IWithIdList, ContextMenuOptions, Boolean) |
Creates the 'New' menu for a given PIDL.
| |
| CreateSendToMenu(IDataObject, ContextMenuOptions, Boolean) |
Creates the 'Send To' menu for a given data object.
| |
| CreateSendToMenu(IWithIdList, ContextMenuOptions, Boolean) |
Creates the 'Send To' menu for a given PIDL.
| |
| Dispose |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
| |
| FromNativeObject |
Gets a Menu instance from a native COM object.
| |
| GetItemFromNewMenuVerb |
Gets an item in the menu from its verb.
The verb is supposed to be a verb from a 'new item' Shell call.
| |
| HandleContextMenuMessage |
Handles context menu messages for Window owning a context menu..
This method must be called by Window owners that set the ShowMenuOptions.Hwnd property.
| |
| Invoke |
Invokes the specified menu.
| |
| NewFromIDList(IntPtr, BuildMenuOptions, CMF, IDataObject, Object, Boolean) |
Gets the 'New' menu from a PIDL.
This menu is only supported for Shell folders.
| |
| NewFromIDList(IWithIdList, BuildMenuOptions, CMF, IDataObject, Object, Boolean) |
Gets the 'New' menu from a PIDL.
This menu is only supported for Shell folders.
|