Class CommandButtonActiveXControl

Class CommandButtonActiveXControl

Namespace: Aspose.Cells.Drawing.ActiveXControls
Assembly: Aspose.Cells.dll (25.2.0)

Represents a command button.

public class CommandButtonActiveXControl : ActiveXControl

Inheritance

objectActiveXControlBaseActiveXControlCommandButtonActiveXControl

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

char

Caption

Gets and set the descriptive text that appears on a control.

public string Caption { get; set; }

Property Value

string

IsWordWrapped

Indicates whether the contents of the control automatically wrap at the end of a line.

public bool IsWordWrapped { get; set; }

Property Value

bool

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

ControlPicturePositionType

TakeFocusOnClick

Indicates whether the control takes the focus when clicked.

public bool TakeFocusOnClick { get; set; }

Property Value

bool

Type

Gets the type of the ActiveX control.

public override ControlType Type { get; }

Property Value

ControlType