Click or drag to resize

ShellMenuItem Class

Defines a Windows Shell menu item in the ShellBoost context.
Inheritance Hierarchy

Namespace:  callback.ShellBoost.Core
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public class ShellMenuItem : IDisposable

The ShellMenuItem type exposes the following members.

Constructors
  NameDescription
Public methodShellMenuItem(ShellMenu)
Initializes a new instance of the ShellMenuItem class.
Public methodShellMenuItem(ShellMenu, String)
Initializes a new instance of the ShellMenuItem class.
Top
Properties
  NameDescription
Public propertyAllItems
Gets all child items.
Public propertyBitmap
Gets the bitmap instance.
Public propertyBitmapCode
Gets the bitmap code.
Public propertyBitmapHandle
Gets the bitmap handle.
Public propertyBitmapPath
Gets or sets the bitmap path.
Public propertyDisplayText
Gets the display text.
Public propertyHelp
Gets or sets the help text, for status bar.
Public propertyId
Gets this item menu identifier offset. Note the menu identifier offset of a merged menu is not the same as the original appended menu.
Public propertyIndex
Gets this item menu index.
Public propertyInsertBeforeById
Gets or sets a value indicating whether insert happens by id or by position.
Public propertyInsertBeforeByPosition
Gets or sets a value indicating whether insert happens by position or by index.
Public propertyInsertBeforeItem
Gets or sets the insert before item value.
Public propertyIsChecked
Gets or sets a value indicating whether this instance is checked.
Public propertyIsDefault
Gets or sets a value indicating whether this instance is the default menu item.
Public propertyIsGrayed
Gets or sets a value indicating whether this instance is grayed.
Public propertyIsHilite
Gets or sets a value indicating whether this instance is hilite.
Public propertyIsRadioCheck
Gets or sets a value indicating whether this instance is a radio check.
Public propertyIsSeparator
Gets or sets a value indicating whether this instance is a separator.
Public propertyItems
Gets the child items.
Public propertyMenu
Gets the parent menu.
Public propertyMenuId
Gets this item menu identifier.
Public propertyNativeTag
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.
Public propertyNewMenuPlaceholderPath
Gets or sets the 'New' menu placeholder path.
Public propertyState
Gets or sets the state.
Public propertyTag
Gets or sets the tag, a custom arbitrary value that can be used to store anything.
Public propertyText
Gets or sets this menu item's text.
Public propertyTopNewMenuPlaceholderPath
Gets or sets the top 'New' menu placeholder path.
Public propertyType
Gets or sets the type.
Public propertyVerb
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.
Top
Methods
  NameDescription
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Protected methodDispose(Boolean)
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Frees all resources associated with this instance.
(Overrides ObjectFinalize.)
Public methodStatic memberGetBitmap
Gets the bitmap from an handle. Unlike the standard Image.FromHbitmap method, this method supports transparency.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodImportToMenu
Imports this instance to another menu instance.
Public methodStatic memberIsBitmap
Determines whether the specified handle is a well-known bitmap handle.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnInvoke
Handles the Invoke event.
Protected methodSaveBitmap
Saves the bitmap.
Public methodToString
Returns a String that represents this instance.
(Overrides ObjectToString.)
Top
Events
  NameDescription
Public eventInvoke
Occurs when this menu item is invoked.
Top
See Also