Krypton |
public class KryptonContextMenu : Component
The KryptonContextMenu type exposes the following members.
| Name | Description | |
|---|---|---|
| KryptonContextMenu | Initialize a new instance of the KryptonContextMenu class. |
| Name | Description | |
|---|---|---|
| Caller | Gets a reference to the caller that caused the context menu to be shown. | |
| CanRaiseEvents | Gets a value indicating whether the component can raise an event. (Inherited from Component) | |
| Container | Gets the IContainer that contains the Component. (Inherited from Component) | |
| DesignMode | Gets a value that indicates whether the Component is currently in design mode. (Inherited from Component) | |
| Enabled | Gets and sets if the context menu is enabled. | |
| Events | Gets the list of event handlers that are attached to this Component. (Inherited from Component) | |
| Images | Gets access to the image value overrides. | |
| Items | Collection of menu items for display. | |
| Palette | Gets and sets the custom palette implementation. | |
| PaletteMode | Gets or sets the palette to be applied. | |
| Site | Gets or sets the ISite of the Component. (Inherited from Component) | |
| StateChecked | Gets access to the context menu normal appearance values. | |
| StateCommon | Gets access to the common context menu appearance entries that other states can override. | |
| StateDisabled | Gets access to the context menu disabled appearance values. | |
| StateHighlight | Gets access to the context menu highlight appearance values. | |
| StateNormal | Gets access to the context menu normal appearance values. | |
| Tag | Gets and sets user-defined data associated with the object. |
| Name | Description | |
|---|---|---|
| Close | Close any showing context menu. | |
| Close(ToolStripDropDownCloseReason) | Close any showing context menu. | |
| CreateContextMenu | Create a new visual context menu for showing the defined items. | |
| Dispose | Releases all resources used by the Component. (Inherited from Component) | |
| Dispose(Boolean) |
Clean up any resources being used.
(Overrides ComponentDispose(Boolean)) | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize | Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (Inherited from Component) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject) Obsolete | |
| GetService | Returns an object that represents a service provided by the Component or by its Container. (Inherited from Component) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject) Obsolete | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject) | |
| OnClosed | Raises the Closed event. | |
| OnClosing | Raises the Closing event. | |
| OnOpened | Raises the Opened event. | |
| OnOpening | Raises the Opening event. | |
| PerformOpening | ||
| ProcessShortcut | Test for the provided shortcut and perform relevant action if a match is found. | |
| ResetPalette | Resets the Palette property to its default value. | |
| ResetPaletteMode | Resets the PaletteMode property to its default value. | |
| Show(Object) | Show the context menu at the current mouse location. | |
| Show(Object, Point) | Show the context menu relative to the provided screen point. | |
| Show(Object, Rectangle) | Show the context menu relative to the provided screen rectangle. | |
| Show(Object, KryptonContextMenuPositionH, KryptonContextMenuPositionV) | Show the context menu relative to the current mouse location. | |
| Show(Object, Point, KryptonContextMenuPositionH, KryptonContextMenuPositionV) | Show the context menu relative to the provided screen point. | |
| Show(Object, Rectangle, KryptonContextMenuPositionH, KryptonContextMenuPositionV) | Show the context menu relative to the provided screen rectangle. | |
| Show(Object, Rectangle, KryptonContextMenuPositionH, KryptonContextMenuPositionV, Boolean, Boolean) | Show the context menu relative to the provided screen rectangle. | |
| ToString | Returns a String containing the name of the Component, if any. This method should not be overridden. (Inherited from Component) |
| Name | Description | |
|---|---|---|
| Closed | Occurs when the context menu has been closed. | |
| Closing | Occurs when the context menu is about to close. | |
| Disposed | Occurs when the component is disposed by a call to the Dispose method. (Inherited from Component) | |
| Opened | Occurs when the context menu is opended. | |
| Opening | Occurs when the context menu is opening. |
| Name | Description | |
|---|---|---|
| MethodInvoke |
Calls the object method by name.
(Defined by ObjectEx) | |
| PropertyGet |
Gets the value of the object property by name.
(Defined by ObjectEx) | |
| PropertyGetT |
Gets the value of the object property by name.
(Defined by ObjectEx) | |
| PropertySet |
Sets the value of the object property by name.
(Defined by ObjectEx) |