Click or drag to resize

KryptonContextMenu Methods

The KryptonContextMenu type exposes the following members.

Methods
 NameDescription
Public methodClose Close any showing context menu.
Public methodClose(ToolStripDropDownCloseReason) Close any showing context menu.
Protected methodCreateContextMenu Create a new visual context menu for showing the defined items.
Public methodDisposeReleases all resources used by the Component.
(Inherited from Component)
Protected methodDispose(Boolean) Clean up any resources being used.
(Overrides ComponentDispose(Boolean))
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeReleases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
(Inherited from Component)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetLifetimeServiceRetrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject)
Obsolete
Protected methodGetServiceReturns an object that represents a service provided by the Component or by its Container.
(Inherited from Component)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodInitializeLifetimeServiceObtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject)
Obsolete
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodMemberwiseClone(Boolean)Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject)
Protected methodOnClosed Raises the Closed event.
Protected methodOnClosing Raises the Closing event.
Protected methodOnOpened Raises the Opened event.
Protected methodOnOpening Raises the Opening event.
Public methodPerformOpening 
Public methodProcessShortcut Test for the provided shortcut and perform relevant action if a match is found.
Public methodResetPalette Resets the Palette property to its default value.
Public methodResetPaletteMode Resets the PaletteMode property to its default value.
Public methodShow(Object) Show the context menu at the current mouse location.
Public methodShow(Object, Point) Show the context menu relative to the provided screen point.
Public methodShow(Object, Rectangle) Show the context menu relative to the provided screen rectangle.
Public methodShow(Object, KryptonContextMenuPositionH, KryptonContextMenuPositionV) Show the context menu relative to the current mouse location.
Public methodShow(Object, Point, KryptonContextMenuPositionH, KryptonContextMenuPositionV) Show the context menu relative to the provided screen point.
Public methodShow(Object, Rectangle, KryptonContextMenuPositionH, KryptonContextMenuPositionV) Show the context menu relative to the provided screen rectangle.
Public methodShow(Object, Rectangle, KryptonContextMenuPositionH, KryptonContextMenuPositionV, Boolean, Boolean) Show the context menu relative to the provided screen rectangle.
Public methodToStringReturns a String containing the name of the Component, if any. This method should not be overridden.
(Inherited from Component)
Top
Extension Methods
 NameDescription
Public Extension MethodMethodInvoke Calls the object method by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGet Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGetT Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertySet Sets the value of the object property by name.
(Defined by ObjectEx)
Top
See Also