MorphDataControl
MorphDataControl
概述
MorphDataControl 是 Aspose.Words FOSS 中用于 .NET 的类。继承自:Forms2OleControl。
MorphDataControl 结构是由六个控件聚合而成:CheckBox、ComboBox、ListBox、OptionButton、TextBox和ToggleButton。
属性:BackColor、Caption、ChildNodes、Enabled、ForeColor、GroupName,以及另外 6 项。
属性
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
Caption | string | 读写 | 获取或设置控件的 Caption 属性。 |
Value | string | 读取 | 获取底层的 Value 属性,该属性通常表示控件状态。 |
Enabled | bool | 读取 | 如果控件处于启用状态,则返回 true。 |
ChildNodes | Forms2OleControlCollection | 读取 | 获取直接子控件的集合。 |
Type | Forms2OleControlType | 读取 | 获取 Forms 2.0 控件的类型。 |
GroupName | string | 读写 | 获取或设置一个字符串,用于指定一组互斥的控件。 |
ForeColor | Color | 读写 | 获取或设置控件的前景颜色。 |
BackColor | Color | 读写 | 获取或设置控件的背景颜色。 |
Width | double | 读写 | 获取或设置控件的宽度(单位为点)。 |
Height | double | 读写 | 获取或设置控件的高度(以点为单位)。 |
Name | string | 读写 | 获取或设置 ActiveX 控件的名称。 |
IsForms2OleControl | bool | 读取 | 如果该控件是 Forms2OleControl,则返回 true。 |