ValidationModel

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

NameTypeAccessDescription
ValidationTypeValidationTypeReadGets the validation type.
ValidationAlertTypeValidationAlertTypeReadGets the validation alert type.
OperatorTypeOperatorTypeReadGets the operator type.

Methods

SignatureDescription
ValidationType() → ValidationTypeGets or sets the type.
ValidationAlertType() → ValidationAlertTypeGets or sets the alert style.
OperatorType() → OperatorTypeGets or sets the operator.
GetAreas() → std::vector<CellArea>Gets the areas.
GetAreas() → std::vector<CellArea>Returns the areas.
GetType() → ValidationTypeGets or sets the type.
SetType(value: ValidationType)Sets the type value.
GetAlertStyle() → ValidationAlertTypeGets or sets the alert style.
SetAlertStyle(value: ValidationAlertType)Sets the alert style value.
GetOperator() → OperatorTypeGets or sets the operator.
SetOperator(value: OperatorType)Sets the operator value.
GetFormula1() → std::stringGets or sets the formula1.
SetFormula1(value: std::string)Sets the formula1 value.
GetFormula2() → std::stringGets or sets the formula2.
SetFormula2(value: std::string)Sets the formula2 value.
GetIgnoreBlank() → boolGets or sets a value indicating whether ignore blank.
SetIgnoreBlank(value: bool)Sets the ignore blank value.
GetInCellDropDown() → boolGets or sets a value indicating whether in cell drop down.
SetInCellDropDown(value: bool)Sets the in cell drop down value.
GetInputTitle() → std::stringGets or sets the input title.
SetInputTitle(value: std::string)Sets the input title value.
GetInputMessage() → std::stringGets or sets the input message.
SetInputMessage(value: std::string)Sets the input message value.
GetErrorTitle() → std::stringGets or sets the error title.
SetErrorTitle(value: std::string)Sets the error title value.
GetErrorMessage() → std::stringGets or sets the error message.
SetErrorMessage(value: std::string)Sets the error message value.
GetShowInput() → boolGets or sets a value indicating whether show input.
SetShowInput(value: bool)Sets the show input value.
GetShowError() → boolGets or sets a value indicating whether show error.
SetShowError(value: bool)Sets the show error value.

See Also

 English