Click or drag to resize

KryptonCommand Class

Defines state and events for a single command.
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 KryptonCommand : Component, 
	IKryptonCommand, INotifyPropertyChanged

The KryptonCommand type exposes the following members.

Constructors
  NameDescription
Public methodKryptonCommand
Initialize a new instance of the KryptonCommand class.
Top
Properties
  NameDescription
Protected propertyCanRaiseEvents
Gets a value indicating whether the component can raise an event.
(Inherited from Component.)
Public propertyChecked
Gets and sets the checked state of the command.
Public propertyCheckState
Gets and sets the check state of the command.
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 the enabled state of the command.
Protected propertyEvents
Gets the list of event handlers that are attached to this Component.
(Inherited from Component.)
Public propertyExtraText
Gets and sets the command extra text.
Public propertyImageLarge
Gets and sets the command large image.
Public propertyImageSmall
Gets and sets the command small image.
Public propertyImageTransparentColor
Gets and sets the command image transparent color.
Public propertySite
Gets or sets the ISite of the Component.
(Inherited from Component.)
Public propertyTag
Gets and sets user-defined data associated with the object.
Public propertyText
Gets and sets the command text.
Public propertyTextLine1
Gets and sets the command text line 1 for use in KryptonRibbon.
Public propertyTextLine2
Gets and sets the command text line 2 for use in KryptonRibbon.
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)
Clean up any resources being used.
(Overrides ComponentDispose(Boolean).)
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 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 methodOnExecute
Raises the Execute event.
Protected methodOnPropertyChanged
Raises the PropertyChanged event.
Public methodPerformExecute
Generates a Execute event for a button.
Public methodToString
Returns a String containing the name of the Component, if any. This method should not be overridden.
(Inherited from Component.)
Top
Events
  NameDescription
Public eventDisposed
Occurs when the component is disposed by a call to the Dispose method.
(Inherited from Component.)
Public eventExecute
Occurs when the command needs executing.
Public eventPropertyChanged
Occurs when a property has changed value.
Top
Extension Methods
See Also