ShellMenuItem Class |
Namespace: ShellBoost.Core
public class ShellMenuItem : IDisposable
The ShellMenuItem type exposes the following members.
Name | Description | |
---|---|---|
ShellMenuItem(ShellMenu) |
Initializes a new instance of the ShellMenuItem class.
| |
ShellMenuItem(ShellMenu, String) |
Initializes a new instance of the ShellMenuItem class.
|
Name | Description | |
---|---|---|
AllItems |
Gets all child items.
| |
Bitmap |
Gets the bitmap instance.
| |
BitmapCode |
Gets the bitmap code.
| |
BitmapHandle |
Gets the bitmap handle.
| |
BitmapPath |
Gets or sets the bitmap path.
| |
DisplayText |
Gets the display text.
| |
Help |
Gets or sets the help text, for status bar.
| |
Id |
Gets this item menu identifier offset.
Note the menu identifier offset of a merged menu is not the same as the original appended menu.
| |
Index |
Gets this item menu index.
| |
InsertBeforeById |
Gets or sets a value indicating whether insert happens by id or by position.
| |
InsertBeforeByPosition |
Gets or sets a value indicating whether insert happens by position or by index.
| |
InsertBeforeItem |
Gets or sets the insert before item value.
| |
IsChecked |
Gets or sets a value indicating whether this instance is checked.
| |
IsDefault |
Gets or sets a value indicating whether this instance is the default menu item.
| |
IsGrayed |
Gets or sets a value indicating whether this instance is grayed.
| |
IsHilite |
Gets or sets a value indicating whether this instance is hilite.
| |
IsRadioCheck |
Gets or sets a value indicating whether this instance is a radio check.
| |
IsSeparator |
Gets or sets a value indicating whether this instance is a separator.
| |
Items |
Gets the child items.
| |
Menu |
Gets the parent menu.
| |
MenuId |
Gets this item menu identifier.
| |
NativeTag |
Gets or sets the menu item user data, a custom arbitrary value that can be used to store anything but must be able to cross processes as is.
| |
NewMenuPlaceholderPath |
Gets or sets the 'New' menu placeholder path.
| |
State |
Gets or sets the state.
| |
Tag |
Gets or sets the tag, a custom arbitrary value that can be used to store anything.
| |
Text |
Gets or sets this menu item's text.
| |
TopNewMenuPlaceholderPath |
Gets or sets the top 'New' menu placeholder path.
| |
Type |
Gets or sets the type.
| |
Verb |
Gets or sets the verb. May be null.
The verb can also be used as a unique key to ensure a ShellMenuItem is only present once in a menu.
|
Name | Description | |
---|---|---|
Dispose |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
| |
Dispose(Boolean) |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
| |
Finalize |
Frees all resources associated with this instance.
(Overrides ObjectFinalize.) | |
GetBitmap |
Gets the bitmap from an handle. Unlike the standard Image.FromHbitmap method, this method supports transparency.
| |
ImportToMenu |
Imports this instance to another menu instance.
| |
IsBitmap |
Determines whether the specified handle is a well-known bitmap handle.
| |
OnInvoke |
Handles the Invoke event.
| |
SaveBitmap |
Saves the bitmap.
| |
ToString |
Returns a String that represents this instance.
(Overrides ObjectToString.) |