Click or drag to resize

ButtonSpec Methods

The ButtonSpec type exposes the following members.

Methods
 NameDescription
Public methodClone Make a clone of this object.
Protected methodConvertToButtonOrientation Convert from palette specific button orientation to resolved button orientation.
Protected methodConvertToButtonStyle Convert from palette specific button style to resolved button style.
Protected methodConvertToRelativeEdgeAlign Convert from palette specific edge alignment to resolved edge alignment.
Public methodCopyFrom Value copy from the provided source to ourself.
Public methodDisposeReleases 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 methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeReleases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
(Inherited from Component)
Protected methodGenerateClick Generates the Click event.
Public methodGetChecked Gets the button checked state.
Public methodGetColorMap Gets the color to remap from the image to the container foreground.
Public methodGetEdge Gets the edge for the button.
Public methodGetEnabled Gets the button enabled state.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetImage Gets the button image.
Public methodGetImageTransparentColor Gets the image transparent color.
Public methodGetLifetimeServiceRetrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject)
Obsolete
Public methodGetLocation Gets the button location.
Public methodGetLongText Gets the button long text.
Public methodGetOrientation Gets the button orienation.
Protected methodGetServiceReturns an object that represents a service provided by the Component or by its Container.
(Inherited from Component)
Public methodGetShortText Gets the button short text.
Public methodGetStyle Gets the button style.
Public methodGetToolTipTitle Gets the button tooltip title text.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodGetView Get the current view associated with the button spec.
Public methodGetViewEnabled Gets a value indicating if the associated view is enabled.
Public methodGetVisible Gets the button visible value.
Public methodInitializeLifetimeServiceObtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject)
Obsolete
Protected methodMemberwiseCloneCreates 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.
Protected methodOnClick Raises the Click event.
Protected methodOnCommandPropertyChanged Handles a change in the property of an attached command.
Public methodPerformClick Generates a Click event for the control.
Public methodPerformClick(EventArgs) Generates a Click event for the control.
Public methodResetAllowInheritExtraText Resets the AllowInheritExtraText property to its default value.
Public methodResetAllowInheritImage Resets the AllowInheritImage property to its default value.
Public methodResetAllowInheritText Resets the AllowInheritText property to its default value.
Public methodResetAllowInheritToolTipTitle Resets the AllowInheritToolTipTitle property to its default value.
Public methodResetColorMap Resets the ColorMap property to its default value.
Public methodResetExtraText Resets the ExtraText property to its default value.
Public methodResetImage Resets the Image property to its default value.
Public methodResetImageTransparentColor Resets the ImageTransparentColor property to its default value.
Public methodResetOrientation Resets the Orientation property to its default value.
Public methodResetStyle Resets the Style property to its default value.
Public methodResetText Resets the Text property to its default value.
Public methodResetToolTipBody Resets the ToolTipBody property to its default value.
Public methodResetToolTipImage Resets the ToolTipImage property to its default value.
Public methodResetToolTipImageTransparentColor Resets the ToolTipImageTransparentColor property to its default value.
Public methodResetToolTipStyle Resets the ToolTipStyle property to its default value.
Public methodResetToolTipTitle Resets the ToolTipTitle property to its default value.
Public methodResetUniqueName Resets the UniqueName property to its default value.
Public methodSetView Sets the current view associated with the button spec.
Public methodToString Returns a string that represents the current defaulted state.
(Overrides ComponentToString)
Top
Extension Methods
 NameDescription
Public Extension MethodMethodInvoke Calls the object method by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGet Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGetT Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertySet Sets the value of the object property by name.
(Defined by ObjectEx)
Top
See Also