复选框列表项 更多...
Public 成员函数 | |
| CheckItem () | |
| 构造函数 | |
| CheckItem (string text, string value) | |
| 构造函数 | |
| CheckItem (string text, string value, bool selected) | |
| 构造函数 | |
属性 | |
| bool | Enabled [get, set] |
| 是否可用 | |
| bool | Selected [get, set] |
| 是否选中 | |
| string | Text [get, set] |
| 显示的文本 | |
| bool | TextRaw [get, set] |
| Text 是否为开发者信任的 HTML。为真时前端原样输出、不转义;默认 false 会做 HTML 转义(防 XSS) | |
| RawHtml | TextRawHtml [get, set] |
| 把 Text 设为可信 HTML 的便捷写法:赋值时同时设置 Text 和 TextRaw=true;读取时若已标记可信则返回 RawHtml、否则返回 null | |
| string | Value [get, set] |
| 值 | |
| JObject | Attributes [get, set] |
| 列表项的属性 | |
复选框列表项
| FineUICore.CheckItem.CheckItem | ( | ) |
构造函数
| FineUICore.CheckItem.CheckItem | ( | string | text, |
| string | value ) |
构造函数
| text | 文本 |
| value | 值 |
| FineUICore.CheckItem.CheckItem | ( | string | text, |
| string | value, | ||
| bool | selected ) |
构造函数
| text | 文本 |
| value | 值 |
| selected | 是否选中 |
|
getset |
列表项的属性
|
getset |
是否可用
|
getset |
是否选中
|
getset |
显示的文本
|
getset |
Text 是否为开发者信任的 HTML。为真时前端原样输出、不转义;默认 false 会做 HTML 转义(防 XSS)
|
getset |
把 Text 设为可信 HTML 的便捷写法:赋值时同时设置 Text 和 TextRaw=true;读取时若已标记可信则返回 RawHtml、否则返回 null
|
getset |
值