Class CheckBoxActiveXControl

Class CheckBoxActiveXControl

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

表示一个复选框ActiveX控件。

public class CheckBoxActiveXControl : ActiveXControl

继承关系

objectActiveXControlBaseActiveXControlCheckBoxActiveXControl

继承成员

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()

属性

加速键

获取和设置控件的加速键。

public char Accelerator { get; set; }

属性值

char

对齐方式

获取和设置标题相对于控件的位置。

public ControlCaptionAlignmentType Alignment { get; set; }

属性值

ControlCaptionAlignmentType

标题

获取和设置在控件上显示的描述性文本。

public string Caption { get; set; }

属性值

string

组名

获取和设置组的名称。

public string GroupName { get; set; }

属性值

string

IsTripleState

指示指定控件如何显示空值。

public bool IsTripleState { get; set; }

属性值

bool

备注

设置描述
True控件将循环显示是、否和空值的状态。当其值属性设置为空时,控件显示为灰色。
False(默认) 控件将循环显示是和否的状态。空值将显示为否值。

IsWordWrapped

指示控件的内容是否在行末自动换行。

public bool IsWordWrapped { get; set; }

属性值

bool

图片

获取和设置图片的数据。

public byte[] Picture { get; set; }

属性值

byte[]

图片位置

获取和设置控件的图片相对于其标题的位置。

public ControlPicturePositionType PicturePosition { get; set; }

属性值

ControlPicturePositionType

特效

获取和设置控件的特效。

public ControlSpecialEffectType SpecialEffect { get; set; }

属性值

ControlSpecialEffectType

类型

获取ActiveX控件的类型。

public override ControlType Type { get; }

属性值

ControlType

指示控件是否被选中。

public CheckValueType Value { get; set; }

属性值

CheckValueType

 中文