KryptonCommand Class |
Namespace: Internal.ComponentFactory.Krypton.Toolkit
public class KryptonCommand : Component, IKryptonCommand, INotifyPropertyChanged
The KryptonCommand type exposes the following members.
| Name | Description | |
|---|---|---|
| KryptonCommand |
Initialize a new instance of the KryptonCommand class.
|
| Name | Description | |
|---|---|---|
| CanRaiseEvents | Gets a value indicating whether the component can raise an event. (Inherited from Component.) | |
| Checked |
Gets and sets the checked state of the command.
| |
| CheckState |
Gets and sets the check state of the command.
| |
| 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 the enabled state of the command.
| |
| Events | Gets the list of event handlers that are attached to this Component. (Inherited from Component.) | |
| ExtraText |
Gets and sets the command extra text.
| |
| ImageLarge |
Gets and sets the command large image.
| |
| ImageSmall |
Gets and sets the command small image.
| |
| ImageTransparentColor |
Gets and sets the command image transparent color.
| |
| Site | (Inherited from Component.) | |
| Tag |
Gets and sets user-defined data associated with the object.
| |
| Text |
Gets and sets the command text.
| |
| TextLine1 |
Gets and sets the command text line 1 for use in KryptonRibbon.
| |
| TextLine2 |
Gets and sets the command text line 2 for use in KryptonRibbon.
|
| 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) |
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.) | |
| 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.) | |
| OnExecute |
Raises the Execute event.
| |
| OnPropertyChanged |
Raises the PropertyChanged event.
| |
| PerformExecute |
Generates a Execute event for a button.
| |
| ToString | Returns a String containing the name of the Component, if any. This method should not be overridden. (Inherited from Component.) |
| Name | Description | |
|---|---|---|
| Disposed | Occurs when the component is disposed by a call to the Dispose method. (Inherited from Component.) | |
| Execute |
Occurs when the command needs executing.
| |
| PropertyChanged |
Occurs when a property has changed value.
|
| 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.) |