KryptonContextMenuItem Class |
Namespace: Internal.ComponentFactory.Krypton.Toolkit
public class KryptonContextMenuItem : KryptonContextMenuItemBase
The KryptonContextMenuItem type exposes the following members.
| Name | Description | |
|---|---|---|
| KryptonContextMenuItem |
Initialize a new instance of the KryptonContextMenuItem class.
| |
| KryptonContextMenuItem(String) |
Initialize a new instance of the KryptonContextMenuItem class.
| |
| KryptonContextMenuItem(String, EventHandler) |
Initialize a new instance of the KryptonContextMenuItem class.
| |
| KryptonContextMenuItem(String, Image, EventHandler) |
Initialize a new instance of the KryptonContextMenuItem class.
| |
| KryptonContextMenuItem(String, EventHandler, Keys) |
Initialize a new instance of the KryptonContextMenuItem class.
| |
| KryptonContextMenuItem(String, Image, EventHandler, Keys) |
Initialize a new instance of the KryptonContextMenuItem class.
|
| Name | Description | |
|---|---|---|
| AutoClose |
Gets and sets if clicking the menu item automatically closes the context menu.
| |
| CanRaiseEvents | Gets a value indicating whether the component can raise an event. (Inherited from Component.) | |
| Checked |
Gets and sets if the menu item is in the checked state.
| |
| CheckOnClick |
Gets and sets if the shortcut display text is shown.
| |
| CheckState |
Gets and sets the checked state of the menu item.
| |
| 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 menu item is enabled.
| |
| Events | Gets the list of event handlers that are attached to this Component. (Inherited from Component.) | |
| ExtraText |
Gets and sets the standard menu item extra text.
| |
| Image |
Gets and sets the standard menu item image.
| |
| ImageTransparentColor |
Gets and sets the heading image color to make transparent.
| |
| Items |
Collection of sub-menu items for display.
| |
| KryptonCommand |
Gets and sets the associated KryptonCommand.
| |
| LargeKryptonCommandImage |
Gets and sets if the large image is used from the attached KryptonCommand.
| |
| ShortcutKeyDisplayString |
Gets and sets the display text to use in preference to the shortcut key setting.
| |
| ShortcutKeys |
Gets and sets the shortcut key combination associated with the menu item.
| |
| ShowShortcutKeys |
Gets and sets if the shortcut display text is shown.
| |
| Site | (Inherited from Component.) | |
| SplitSubMenu |
Gets and sets whether the menu item toggles checked state when clicked.
| |
| StateChecked |
Gets access to the menu item normal appearance values.
| |
| StateDisabled |
Gets access to the menu item disabled appearance values.
| |
| StateHighlight |
Gets access to the menu item highlight appearance values.
| |
| StateNormal |
Gets access to the menu item normal appearance values.
| |
| Tag |
Gets and sets user-defined data associated with the object.
(Inherited from KryptonContextMenuItemBase.) | |
| Text |
Gets and sets the standard menu item text.
| |
| Visible |
Gets and sets if the item is visible in the context menu.
(Inherited from KryptonContextMenuItemBase.) |
| Name | Description | |
|---|---|---|
| CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) | |
| Dispose | Releases all resources used by the Component. (Inherited from Component.) | |
| Dispose(Boolean) | Releases the unmanaged resources used by the Component and optionally releases the managed resources. (Inherited from Component.) | |
| 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.) | |
| GenerateView |
Returns a view appropriate for this item based on the object it is inside.
(Overrides KryptonContextMenuItemBaseGenerateView(IContextMenuProvider, Object, ViewLayoutStack, Boolean, Boolean).) | |
| 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.) | |
| GetService | (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.) | |
| 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.) | |
| OnCheckedChanged |
Raises the CheckedChanged event.
| |
| OnCheckStateChanged |
Raises the CheckStateChanged event.
| |
| OnClick |
Raises the Click event.
| |
| OnPropertyChanged |
Raises the PropertyChanged event.
(Inherited from KryptonContextMenuItemBase.) | |
| PerformClick |
Generates a Click event for the component.
| |
| ProcessShortcut |
Test for the provided shortcut and perform relevant action if a match is found.
(Overrides KryptonContextMenuItemBaseProcessShortcut(Keys).) | |
| ToString |
Returns a description of the instance.
(Overrides ComponentToString.) |
| Name | Description | |
|---|---|---|
| CheckedChanged |
Occurs when the menu item is clicked.
| |
| CheckStateChanged |
Occurs when the menu item is clicked.
| |
| Click |
Occurs when the menu item is clicked.
| |
| Disposed | Occurs when the component is disposed by a call to the Dispose method. (Inherited from Component.) | |
| PropertyChanged |
Occurs when a property has changed value.
(Inherited from KryptonContextMenuItemBase.) |
| Name | Description | |
|---|---|---|
| MethodInvoke |
Calls the object method by name.
(Defined by ObjectEx.) | |
| PropertyGet(String, Object, Boolean) | Overloaded.
Gets the value of the object property by name.
(Defined by ObjectEx.) | |
| PropertyGetT(String, Object, Boolean) | Overloaded.
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.) |