ValidationModel
Overview
ValidationModel is a class in Aspose.Cells FOSS for C++.
Represents validation model.
This class provides 31 methods for working with ValidationModel objects in C++ programs.
Available methods include: GetAlertStyle, GetAreas, GetErrorMessage, GetErrorTitle, GetFormula1, GetFormula2, GetIgnoreBlank, GetInCellDropDown, GetInputMessage, GetInputTitle, GetOperator, GetShowError, and 18 additional methods.
All public members are accessible to any C++ application after installing the Aspose.Cells FOSS for C++ package.
Accessor methods: OperatorType, ValidationAlertType, ValidationType.
Accessor Methods
| Name | Type | Access | Description |
|---|---|---|---|
ValidationType | ValidationType | Read | Gets the validation type. |
ValidationAlertType | ValidationAlertType | Read | Gets the validation alert type. |
OperatorType | OperatorType | Read | Gets the operator type. |
Methods
| Signature | Description |
|---|---|
ValidationType() → ValidationType | Gets or sets the type. |
ValidationAlertType() → ValidationAlertType | Gets or sets the alert style. |
OperatorType() → OperatorType | Gets or sets the operator. |
GetAreas() → std::vector<CellArea> | Gets the areas. |
GetAreas() → std::vector<CellArea> | Returns the areas. |
GetType() → ValidationType | Gets or sets the type. |
SetType(value: ValidationType) | Sets the type value. |
GetAlertStyle() → ValidationAlertType | Gets or sets the alert style. |
SetAlertStyle(value: ValidationAlertType) | Sets the alert style value. |
GetOperator() → OperatorType | Gets or sets the operator. |
SetOperator(value: OperatorType) | Sets the operator value. |
GetFormula1() → std::string | Gets or sets the formula1. |
SetFormula1(value: std::string) | Sets the formula1 value. |
GetFormula2() → std::string | Gets or sets the formula2. |
SetFormula2(value: std::string) | Sets the formula2 value. |
GetIgnoreBlank() → bool | Gets or sets a value indicating whether ignore blank. |
SetIgnoreBlank(value: bool) | Sets the ignore blank value. |
GetInCellDropDown() → bool | Gets or sets a value indicating whether in cell drop down. |
SetInCellDropDown(value: bool) | Sets the in cell drop down value. |
GetInputTitle() → std::string | Gets or sets the input title. |
SetInputTitle(value: std::string) | Sets the input title value. |
GetInputMessage() → std::string | Gets or sets the input message. |
SetInputMessage(value: std::string) | Sets the input message value. |
GetErrorTitle() → std::string | Gets or sets the error title. |
SetErrorTitle(value: std::string) | Sets the error title value. |
GetErrorMessage() → std::string | Gets or sets the error message. |
SetErrorMessage(value: std::string) | Sets the error message value. |
GetShowInput() → bool | Gets or sets a value indicating whether show input. |
SetShowInput(value: bool) | Sets the show input value. |
GetShowError() → bool | Gets or sets a value indicating whether show error. |
SetShowError(value: bool) | Sets the show error value. |