Class OdfDataValidation
- Namespace
- OdfKit.Spreadsheet
- Assembly
- OdfKit.dll
Defines settings for ODS data validation. 定義 ODS 資料驗證的設定資訊。
public sealed class OdfDataValidation
- Inheritance
-
OdfDataValidation
- Inherited Members
Constructors
OdfDataValidation()
public OdfDataValidation()
Properties
AlertStyle
Gets or sets the alert style level used on input error. 取得或設定輸入錯誤時的警告樣式等級。
public OdfValidationAlertStyle AlertStyle { get; init; }
Property Value
ApplyTo
Gets or sets the cell range to which this validation applies. 取得或設定套用此驗證的儲存格範圍。
public OdfCellRange ApplyTo { get; init; }
Property Value
Condition
Gets or sets the validation condition type. 取得或設定驗證的條件類型。
public OdfValidationCondition Condition { get; init; }
Property Value
ErrorMessage
Gets or sets the message content displayed on input error. 取得或設定輸入錯誤時顯示的訊息內容。
public string ErrorMessage { get; init; }
Property Value
ErrorTitle
Gets or sets the title displayed on input error. 取得或設定輸入錯誤時顯示的標題。
public string ErrorTitle { get; init; }
Property Value
Formula1
Gets or sets the first formula argument, such as the lower bound. 取得或設定第一個公式參數(例如下限值)。
public string Formula1 { get; init; }
Property Value
Formula2
Gets or sets the second formula argument, such as the upper bound. 取得或設定第二個公式參數(例如上限值)。
public string Formula2 { get; init; }