Class CommandButtonActiveXControl

CommandButtonActiveXControl class

Represents a command button.

public class CommandButtonActiveXControl : ActiveXControl


Accelerator { get; set; }Gets and sets the accelerator key for the control.
BackOleColor { get; set; }Gets and sets the ole color of the background.
Caption { get; set; }Gets and set the descriptive text that appears on a control.
override Data { get; }Gets and sets the binary data of the control.
virtual ForeOleColor { get; set; }Gets and sets the ole color of the foreground.
virtual Height { get; set; }Gets and sets the height of the control in unit of points.
IMEMode { get; set; }Gets and sets the default run-time mode of the Input Method Editor for the control as it receives focus.
virtual IsAutoSize { get; set; }Indicates whether the control will automatically resize to display its entire contents.
IsEnabled { get; set; }Indicates whether the control can receive the focus and respond to user-generated events.
IsLocked { get; set; }Indicates whether data in the control is locked for editing.
IsTransparent { get; set; }Indicates whether the control is transparent.
IsWordWrapped { get; set; }Indicates whether the contents of the control automatically wrap at the end of a line.
MouseIcon { get; set; }Gets and sets a custom icon to display as the mouse pointer for the control.
MousePointer { get; set; }Gets and sets the type of icon displayed as the mouse pointer for the control.
Picture { get; set; }Gets and sets the data of the picture.
PicturePosition { get; set; }Gets and set the location of the control’s picture relative to its caption.
TakeFocusOnClick { get; set; }Inidcates whether the control takes the focus when clicked.
override Type { get; }Gets the type of the ActiveX control.
virtual Width { get; set; }Gets and sets the width of the control in unit of point.

See Also