ButtonSpec Class |
Namespace: Internal.ComponentFactory.Krypton.Toolkit
public abstract class ButtonSpec : Component, IButtonSpecValues, ICloneable
The ButtonSpec type exposes the following members.
Name | Description | |
---|---|---|
ButtonSpec |
Initialize a new instance of the ButtonSpec class.
|
Name | Description | |
---|---|---|
AllowInheritExtraText |
Gets and sets if the button extra text be inherited if defined as empty.
| |
AllowInheritImage |
Gets and sets if the button image be inherited if defined as null.
| |
AllowInheritText |
Gets and sets if the button text be inherited if defined as empty.
| |
AllowInheritToolTipTitle |
Gets and sets if the button tooltip title be inherited if defined as empty.
| |
CanRaiseEvents | Gets a value indicating whether the component can raise an event. (Inherited from Component.) | |
ColorMap |
Gets and sets image color to remap to container foreground.
| |
Container | Gets the IContainer that contains the Component. (Inherited from Component.) | |
ContextMenuStrip |
Gets and sets the context menu strip for the button.
| |
DesignMode | Gets a value that indicates whether the Component is currently in design mode. (Inherited from Component.) | |
Edge |
Gets and sets the header edge to display the button against.
| |
Events | Gets the list of event handlers that are attached to this Component. (Inherited from Component.) | |
ExtraText |
Gets and sets the button extra text.
| |
Image |
Gets and sets the button image.
| |
ImageStates |
Gets access to the state specific images for the button.
| |
ImageTransparentColor |
Gets and sets the button image.
| |
IsDefault |
Gets a value indicating if all values are default.
| |
KryptonCommand |
Gets and sets the associated KryptonCommand.
| |
KryptonContextMenu |
Gets and sets the krypton context menu for the button.
| |
Orientation |
Gets and sets the button orientation.
| |
Owner |
Gets and sets user-defined data associated with the object.
| |
ProtectedType |
Gets and sets the actual type of the button.
| |
Site | (Inherited from Component.) | |
Style |
Gets and sets the button style.
| |
Tag |
Gets and sets user-defined data associated with the object.
| |
Text |
Gets and sets the button text.
| |
ToolTipBody |
Gets and sets the button body tooltip text.
| |
ToolTipImage |
Gets and sets the button tooltip image.
| |
ToolTipImageTransparentColor |
Gets and sets the tooltip image transparent color.
| |
ToolTipStyle |
Gets and sets the tooltip label style.
| |
ToolTipTitle |
Gets and sets the button title tooltip text.
| |
UniqueName |
Gets and sets the unique name of the ButtonSpec.
|
Name | Description | |
---|---|---|
Clone |
Make a clone of this object.
| |
ConvertToButtonOrientation |
Convert from palette specific button orientation to resolved button orientation.
| |
ConvertToButtonStyle |
Convert from palette specific button style to resolved button style.
| |
ConvertToRelativeEdgeAlign |
Convert from palette specific edge alignment to resolved edge alignment.
| |
CopyFrom |
Value copy from the provided source to ourself.
| |
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.) | |
GenerateClick |
Generates the Click event.
| |
GetChecked |
Gets the button checked state.
| |
GetColorMap |
Gets the color to remap from the image to the container foreground.
| |
GetEdge |
Gets the edge for the button.
| |
GetEnabled |
Gets the button enabled state.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetImage |
Gets the button image.
| |
GetImageTransparentColor |
Gets the image transparent color.
| |
GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
GetLocation |
Gets the button location.
| |
GetLongText |
Gets the button long text.
| |
GetOrientation |
Gets the button orienation.
| |
GetService | (Inherited from Component.) | |
GetShortText |
Gets the button short text.
| |
GetStyle |
Gets the button style.
| |
GetToolTipTitle |
Gets the button tooltip title text.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetView |
Get the current view associated with the button spec.
| |
GetViewEnabled |
Gets a value indicating if the associated view is enabled.
| |
GetVisible |
Gets the button visible value.
| |
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.) | |
OnButtonSpecPropertyChanged |
Raises the ButtonSpecPropertyChanged event.
| |
OnClick |
Raises the Click event.
| |
OnCommandPropertyChanged |
Handles a change in the property of an attached command.
| |
PerformClick |
Generates a Click event for the control.
| |
PerformClick(EventArgs) |
Generates a Click event for the control.
| |
ResetAllowInheritExtraText |
Resets the AllowInheritExtraText property to its default value.
| |
ResetAllowInheritImage |
Resets the AllowInheritImage property to its default value.
| |
ResetAllowInheritText |
Resets the AllowInheritText property to its default value.
| |
ResetAllowInheritToolTipTitle |
Resets the AllowInheritToolTipTitle property to its default value.
| |
ResetColorMap |
Resets the ColorMap property to its default value.
| |
ResetExtraText |
Resets the ExtraText property to its default value.
| |
ResetImage |
Resets the Image property to its default value.
| |
ResetImageTransparentColor |
Resets the ImageTransparentColor property to its default value.
| |
ResetOrientation |
Resets the Orientation property to its default value.
| |
ResetStyle |
Resets the Style property to its default value.
| |
ResetText |
Resets the Text property to its default value.
| |
ResetToolTipBody |
Resets the ToolTipBody property to its default value.
| |
ResetToolTipImage |
Resets the ToolTipImage property to its default value.
| |
ResetToolTipImageTransparentColor |
Resets the ToolTipImageTransparentColor property to its default value.
| |
ResetToolTipStyle |
Resets the ToolTipStyle property to its default value.
| |
ResetToolTipTitle |
Resets the ToolTipTitle property to its default value.
| |
ResetUniqueName |
Resets the UniqueName property to its default value.
| |
SetView |
Sets the current view associated with the button spec.
| |
ToString |
Returns a string that represents the current defaulted state.
(Overrides ComponentToString.) |
Name | Description | |
---|---|---|
ButtonSpecPropertyChanged |
Occurs whenever a button specification property has changed.
| |
Click |
Occurs whenever a button specification property has changed.
| |
Disposed | Occurs when the component is disposed by a call to the Dispose method. (Inherited from Component.) |
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.) |