跳到主要内容

ApiCheckboxField

ApiCheckboxField 是 ApiBaseField 的子类。

方法

方法返回值描述
AddOptionApiCheckboxWidget向复选框组添加选项。
AddWidgetApiWidget添加新控件 - 字段的可视化表示
Deleteboolean从文档中移除字段。
GetAllWidgetsApiWidget[]获取当前字段的控件数组。
GetClassType"checkboxField"返回 ApiCheckboxField 类的类型。
GetFullNamestring获取字段完整名称。
GetPartialNamestring获取字段部分名称。
GetValuestring获取字段值
IsReadOnlyboolean检查字段是否为只读
IsRequiredboolean检查字段是否为必填
IsToggleToOffboolean检查字段是否可切换为关闭。
SetFullNameboolean如果可能,设置新的字段名称。
SetPartialNameboolean设置新的字段部分名称。
SetReadOnlyboolean设置字段为只读
SetRequiredboolean设置字段为必填
SetToggleToOffboolean设置字段的切换为关闭属性。
SetValueboolean设置字段值