Class CommandButtonActiveXControl
Namespace: Aspose.Cells.Drawing.ActiveXControls
Assembly: Aspose.Cells.dll (25.2.0)
Represents a command button.
public class CommandButtonActiveXControl : ActiveXControl
Inheritance
object ← ActiveXControlBase ← ActiveXControl ← CommandButtonActiveXControl
Inherited Members
ActiveXControl.IsEnabled, ActiveXControl.IsLocked, ActiveXControl.IsTransparent, ActiveXControl.IsAutoSize, ActiveXControl.IMEMode, ActiveXControl.Font, ActiveXControl.TextAlign, ActiveXControl.Data, ActiveXControlBase.Workbook, ActiveXControlBase.Type, ActiveXControlBase.Width, ActiveXControlBase.Height, ActiveXControlBase.MouseIcon, ActiveXControlBase.MousePointer, ActiveXControlBase.ForeOleColor, ActiveXControlBase.BackOleColor, ActiveXControlBase.IsVisible, ActiveXControlBase.Shadow, ActiveXControlBase.LinkedCell, ActiveXControlBase.ListFillRange, ActiveXControlBase.Data, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Properties
Accelerator
Gets and sets the accelerator key for the control.
public char Accelerator { get; set; }
Property Value
Caption
Gets and set the descriptive text that appears on a control.
public string Caption { get; set; }
Property Value
IsWordWrapped
Indicates whether the contents of the control automatically wrap at the end of a line.
public bool IsWordWrapped { get; set; }
Property Value
Picture
Gets and sets the data of the picture.
public byte[] Picture { get; set; }
Property Value
byte[]
PicturePosition
Gets and set the location of the control’s picture relative to its caption.
public ControlPicturePositionType PicturePosition { get; set; }
Property Value
TakeFocusOnClick
Indicates whether the control takes the focus when clicked.
public bool TakeFocusOnClick { get; set; }
Property Value
Type
Gets the type of the ActiveX control.
public override ControlType Type { get; }