Click or drag to resize

KryptonContextMenuCheckButton Class

Provide a context menu check button.
Inheritance Hierarchy

Namespace:  Internal.ComponentFactory.Krypton.Toolkit
Assembly:  NeoAxis.Core.Editor (in NeoAxis.Core.Editor.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public class KryptonContextMenuCheckButton : KryptonContextMenuItemBase

The KryptonContextMenuCheckButton type exposes the following members.

Constructors
  NameDescription
Public methodKryptonContextMenuCheckButton
Initialize a new instance of the KryptonContextMenuCheckButton class.
Public methodKryptonContextMenuCheckButton(String)
Initialize a new instance of the KryptonContextMenuCheckButton class.
Top
Properties
  NameDescription
Public propertyAutoCheck
Gets or sets a value indicating if the check box is automatically changed state when clicked.
Public propertyAutoClose
Gets and sets if clicking the check box automatically closes the context menu.
Public propertyButtonStyle
Gets and sets the check button style.
Protected propertyCanRaiseEvents
Gets a value indicating whether the component can raise an event.
(Inherited from Component.)
Public propertyChecked
Gets or sets a value indicating if the component is in the checked state.
Public propertyContainer
Gets the IContainer that contains the Component.
(Inherited from Component.)
Protected propertyDesignMode
Gets a value that indicates whether the Component is currently in design mode.
(Inherited from Component.)
Public propertyEnabled
Gets and sets if the check box is enabled.
Protected propertyEvents
Gets the list of event handlers that are attached to this Component.
(Inherited from Component.)
Public propertyExtraText
Gets and sets the check box extra text.
Public propertyImage
Gets and sets the check box image.
Public propertyImageTransparentColor
Gets and sets the check box image color to make transparent.
Public propertyKryptonCommand
Gets and sets the associated KryptonCommand.
Public propertyOverrideFocus
Gets access to the button appearance when it has focus.
Public propertySite
Gets or sets the ISite of the Component.
(Inherited from Component.)
Public propertyStateCheckedNormal
Gets access to the normal checked button appearance entries.
Public propertyStateCheckedPressed
Gets access to the pressed checked button appearance entries.
Public propertyStateCheckedTracking
Gets access to the hot tracking checked button appearance entries.
Public propertyStateCommon
Gets access to the common button appearance that other states can override.
Public propertyStateDisabled
Gets access to the disabled button appearance entries.
Public propertyStateNormal
Gets access to the normal button appearance entries.
Public propertyStatePressed
Gets access to the pressed button appearance entries.
Public propertyStateTracking
Gets access to the tracking button appearance entries.
Public propertyTag
Gets and sets user-defined data associated with the object.
(Inherited from KryptonContextMenuItemBase.)
Public propertyText
Gets and sets the check box text.
Public propertyVisible
Gets and sets if the item is visible in the context menu.
(Inherited from KryptonContextMenuItemBase.)
Top
Methods
  NameDescription
Public methodCreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Public methodDispose
Releases all resources used by the Component.
(Inherited from Component.)
Protected methodDispose(Boolean)
Releases the unmanaged resources used by the Component and optionally releases the managed resources.
(Inherited from Component.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
(Inherited from Component.)
Public methodGenerateView
Returns a view appropriate for this item based on the object it is inside.
(Overrides KryptonContextMenuItemBaseGenerateView(IContextMenuProvider, Object, ViewLayoutStack, Boolean, Boolean).)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Protected methodGetService
Returns an object that represents a service provided by the Component or by its Container.
(Inherited from Component.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Protected methodMemberwiseClone
Creates 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 methodOnCheckedChanged
Raises the CheckedChanged event.
Protected methodOnClick
Raises the Click event.
Protected methodOnPropertyChanged
Raises the PropertyChanged event.
(Inherited from KryptonContextMenuItemBase.)
Public methodPerformClick
Generates a Click event for the component.
Public methodProcessShortcut
Test for the provided shortcut and perform relevant action if a match is found.
(Overrides KryptonContextMenuItemBaseProcessShortcut(Keys).)
Public methodToString
Returns a description of the instance.
(Overrides ComponentToString.)
Top
Events
  NameDescription
Public eventCheckedChanged
Occurs when the value of the Checked property has changed.
Public eventClick
Occurs when the check box item is clicked.
Public eventDisposed
Occurs when the component is disposed by a call to the Dispose method.
(Inherited from Component.)
Public eventPropertyChanged
Occurs when a property has changed value.
(Inherited from KryptonContextMenuItemBase.)
Top
Extension Methods
See Also