CommandButtonControl class
CommandButtonControl class
The CommandButton control runs a macro that performs an action when a user clicks it.
Inheritance: CommandButtonControl → Forms2OleControl → OleControl
Constructors
Name | Description |
---|---|
CommandButtonControl() | Initializes a new instance of CommandButtonControl class. |
Properties
Name | Description |
---|---|
backColor | Gets or sets a background color of the control. The default value depends on a type of the control. (Inherited from Forms2OleControl) |
caption | Gets or sets a Caption property of the control. Default value is an empty string. (Inherited from Forms2OleControl) |
childNodes | Gets collection of immediate child controls. (Inherited from Forms2OleControl) |
enabled | Returns true if control is in enabled state.(Inherited from Forms2OleControl) |
foreColor | Gets or sets a foreground color of the control. The default value depends on a type of the control. (Inherited from Forms2OleControl) |
groupName | Gets or sets a string that specifies a group of mutually exclusive controls. The default value is an empty string. (Inherited from Forms2OleControl) |
height | Gets or sets a height of the control in points. (Inherited from Forms2OleControl) |
isForms2OleControl | Returns true if the control is a Forms2OleControl.(Inherited from OleControl) |
name | Gets or sets name of the ActiveX control. (Inherited from OleControl) |
type | Gets type of Forms 2.0 control. |
value | Gets underlying Value property which often represents control state. For example checked option button has ‘1’ value while unchecked has ‘0’. Default value is an empty string. (Inherited from Forms2OleControl) |
width | Gets or sets a width of the control in points. (Inherited from Forms2OleControl) |
Methods
Name | Description |
---|---|
asCheckBoxControl() | (Inherited from OleControl) |
asForms2OleControl() | (Inherited from OleControl) |
asOptionButtonControl() | (Inherited from OleControl) |
asTextBoxControl() | (Inherited from OleControl) |
See Also
- module Aspose.Words.Drawing.Ole
- class Forms2OleControl