Click or drag to resize

ButtonSpecAny Class

Button specification that can be assigned as any button type.
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 ButtonSpecAny : ButtonSpec

The ButtonSpecAny type exposes the following members.

Constructors
  NameDescription
Public methodButtonSpecAny
Initialize a new instance of the AnyButtonSpec class.
Top
Properties
  NameDescription
Public propertyAllowInheritExtraText
Gets and sets if the button extra text be inherited if defined as empty.
(Inherited from ButtonSpec.)
Public propertyAllowInheritImage
Gets and sets if the button image be inherited if defined as null.
(Inherited from ButtonSpec.)
Public propertyAllowInheritText
Gets and sets if the button text be inherited if defined as empty.
(Inherited from ButtonSpec.)
Public propertyAllowInheritToolTipTitle
Gets and sets if the button tooltip title be inherited if defined as empty.
(Inherited from ButtonSpec.)
Protected propertyCanRaiseEvents
Gets a value indicating whether the component can raise an event.
(Inherited from Component.)
Public propertyChecked
Gets and sets if the button is checked or capable of being checked.
Public propertyColorMap
Gets and sets image color to remap to container foreground.
(Inherited from ButtonSpec.)
Public propertyContainer
Gets the IContainer that contains the Component.
(Inherited from Component.)
Public propertyContextMenuStrip
Gets and sets the context menu strip for the button.
(Inherited from ButtonSpec.)
Protected propertyDesignMode
Gets a value that indicates whether the Component is currently in design mode.
(Inherited from Component.)
Public propertyEdge
Gets and sets the header edge to display the button against.
(Inherited from ButtonSpec.)
Public propertyEnabled
Gets and sets the button enabled state.
Protected propertyEvents
Gets the list of event handlers that are attached to this Component.
(Inherited from Component.)
Public propertyExtraText
Gets and sets the button extra text.
(Inherited from ButtonSpec.)
Public propertyImage
Gets and sets the button image.
(Inherited from ButtonSpec.)
Public propertyImageStates
Gets access to the state specific images for the button.
(Inherited from ButtonSpec.)
Public propertyImageTransparentColor
Gets and sets the button image.
(Inherited from ButtonSpec.)
Public propertyIsDefault
Gets a value indicating if all values are default.
(Overrides ButtonSpecIsDefault.)
Public propertyKryptonCommand
Gets and sets the associated KryptonCommand.
(Overrides ButtonSpecKryptonCommand.)
Public propertyKryptonContextMenu
Gets and sets the krypton context menu for the button.
(Inherited from ButtonSpec.)
Public propertyOrientation
Gets and sets the button orientation.
(Inherited from ButtonSpec.)
Public propertyOwner
Gets and sets user-defined data associated with the object.
(Inherited from ButtonSpec.)
Protected propertyProtectedType
Gets and sets the actual type of the button.
(Inherited from ButtonSpec.)
Public propertySite
Gets or sets the ISite of the Component.
(Inherited from Component.)
Public propertyStyle
Gets and sets the button style.
(Inherited from ButtonSpec.)
Public propertyTag
Gets and sets user-defined data associated with the object.
(Inherited from ButtonSpec.)
Public propertyText
Gets and sets the button text.
(Inherited from ButtonSpec.)
Public propertyToolTipBody
Gets and sets the button body tooltip text.
(Inherited from ButtonSpec.)
Public propertyToolTipImage
Gets and sets the button tooltip image.
(Inherited from ButtonSpec.)
Public propertyToolTipImageTransparentColor
Gets and sets the tooltip image transparent color.
(Inherited from ButtonSpec.)
Public propertyToolTipStyle
Gets and sets the tooltip label style.
(Inherited from ButtonSpec.)
Public propertyToolTipTitle
Gets and sets the button title tooltip text.
(Inherited from ButtonSpec.)
Public propertyType
Gets and sets the button type.
Public propertyUniqueName
Gets and sets the unique name of the ButtonSpec.
(Inherited from ButtonSpec.)
Public propertyVisible
Gets and sets if the button should be shown.
Top
Methods
  NameDescription
Public methodClone
Make a clone of this object.
(Overrides ButtonSpecClone.)
Protected methodConvertToButtonOrientation
Convert from palette specific button orientation to resolved button orientation.
(Inherited from ButtonSpec.)
Protected methodConvertToButtonStyle
Convert from palette specific button style to resolved button style.
(Inherited from ButtonSpec.)
Protected methodConvertToRelativeEdgeAlign
Convert from palette specific edge alignment to resolved edge alignment.
(Inherited from ButtonSpec.)
Public methodCopyFrom(ButtonSpec)
Value copy from the provided source to ourself.
(Inherited from ButtonSpec.)
Public methodCopyFrom(ButtonSpecAny)
Value copy form the provided source to ourself.
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.)
Protected methodGenerateClick
Generates the Click event.
(Inherited from ButtonSpec.)
Public methodGetChecked
Gets the button checked state.
(Overrides ButtonSpecGetChecked(IPalette).)
Public methodGetColorMap
Gets the color to remap from the image to the container foreground.
(Inherited from ButtonSpec.)
Public methodGetEdge
Gets the edge for the button.
(Inherited from ButtonSpec.)
Public methodGetEnabled
Gets the button enabled state.
(Overrides ButtonSpecGetEnabled(IPalette).)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetImage
Gets the button image.
(Inherited from ButtonSpec.)
Public methodGetImageTransparentColor
Gets the image transparent color.
(Inherited from ButtonSpec.)
Public methodGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodGetLocation
Gets the button location.
(Inherited from ButtonSpec.)
Public methodGetLongText
Gets the button long text.
(Inherited from ButtonSpec.)
Public methodGetOrientation
Gets the button orienation.
(Inherited from ButtonSpec.)
Protected methodGetService
Returns an object that represents a service provided by the Component or by its Container.
(Inherited from Component.)
Public methodGetShortText
Gets the button short text.
(Inherited from ButtonSpec.)
Public methodGetStyle
Gets the button style.
(Inherited from ButtonSpec.)
Public methodGetToolTipTitle
Gets the button tooltip title text.
(Inherited from ButtonSpec.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetView
Get the current view associated with the button spec.
(Inherited from ButtonSpec.)
Public methodGetViewEnabled
Gets a value indicating if the associated view is enabled.
(Inherited from ButtonSpec.)
Public methodGetVisible
Gets the button visible value.
(Overrides ButtonSpecGetVisible(IPalette).)
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 methodOnButtonSpecPropertyChanged
Raises the ButtonSpecPropertyChanged event.
(Overrides ButtonSpecOnButtonSpecPropertyChanged(String).)
Protected methodOnClick
Raises the Click event.
(Overrides ButtonSpecOnClick(EventArgs).)
Protected methodOnCommandPropertyChanged
Handles a change in the property of an attached command.
(Overrides ButtonSpecOnCommandPropertyChanged(Object, PropertyChangedEventArgs).)
Public methodPerformClick
Generates a Click event for the control.
(Inherited from ButtonSpec.)
Public methodPerformClick(EventArgs)
Generates a Click event for the control.
(Inherited from ButtonSpec.)
Public methodResetAllowInheritExtraText
Resets the AllowInheritExtraText property to its default value.
(Inherited from ButtonSpec.)
Public methodResetAllowInheritImage
Resets the AllowInheritImage property to its default value.
(Inherited from ButtonSpec.)
Public methodResetAllowInheritText
Resets the AllowInheritText property to its default value.
(Inherited from ButtonSpec.)
Public methodResetAllowInheritToolTipTitle
Resets the AllowInheritToolTipTitle property to its default value.
(Inherited from ButtonSpec.)
Public methodResetChecked
Resets the Checked property to its default value.
Public methodResetColorMap
Resets the ColorMap property to its default value.
(Inherited from ButtonSpec.)
Public methodResetEnabled
Resets the Enabled property to its default value.
Public methodResetExtraText
Resets the ExtraText property to its default value.
(Inherited from ButtonSpec.)
Public methodResetImage
Resets the Image property to its default value.
(Inherited from ButtonSpec.)
Public methodResetImageTransparentColor
Resets the ImageTransparentColor property to its default value.
(Inherited from ButtonSpec.)
Public methodResetOrientation
Resets the Orientation property to its default value.
(Inherited from ButtonSpec.)
Public methodResetStyle
Resets the Style property to its default value.
(Inherited from ButtonSpec.)
Public methodResetText
Resets the Text property to its default value.
(Inherited from ButtonSpec.)
Public methodResetToolTipBody
Resets the ToolTipBody property to its default value.
(Inherited from ButtonSpec.)
Public methodResetToolTipImage
Resets the ToolTipImage property to its default value.
(Inherited from ButtonSpec.)
Public methodResetToolTipImageTransparentColor
Resets the ToolTipImageTransparentColor property to its default value.
(Inherited from ButtonSpec.)
Public methodResetToolTipStyle
Resets the ToolTipStyle property to its default value.
(Inherited from ButtonSpec.)
Public methodResetToolTipTitle
Resets the ToolTipTitle property to its default value.
(Inherited from ButtonSpec.)
Public methodResetType
Resets the Type property to its default value.
Public methodResetUniqueName
Resets the UniqueName property to its default value.
(Inherited from ButtonSpec.)
Public methodResetVisible
Resets the Visible property to its default value.
Public methodSetView
Sets the current view associated with the button spec.
(Inherited from ButtonSpec.)
Public methodToString
Returns a string that represents the current defaulted state.
(Inherited from ButtonSpec.)
Top
Events
  NameDescription
Public eventButtonSpecPropertyChanged
Occurs whenever a button specification property has changed.
(Inherited from ButtonSpec.)
Public eventClick
Occurs whenever a button specification property has changed.
(Inherited from ButtonSpec.)
Public eventDisposed
Occurs when the component is disposed by a call to the Dispose method.
(Inherited from Component.)
Top
Extension Methods
See Also