DataValidation
概述
DataValidation 是 Aspose.Cells 为 Go 提供的 FOSS 中的一种类型。
DataValidation 表示在工作表上应用于一组单元格的单个数据验证规则。
属性:AllowBlank、ErrorMessage、ErrorStyle、ErrorTitle、Formula1、Formula2,以及另外 3 项。
属性
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
Type | string | 读写 | 获取类型。 |
Ref | string | 读写 | 获取 ref。 |
Formula1 | string | 读写 | 获取 formula1。 |
Formula2 | string | 读写 | 获取 formula2。 |
AllowBlank | bool | 读写 | 获取允许空白。 |
ShowErrorMessage | bool | 读写 | 获取显示错误消息。 |
ErrorTitle | string | 读写 | 获取错误标题。 |
ErrorMessage | string | 读写 | 获取错误消息。 |
ErrorStyle | string | 读写 | 获取错误样式。 |