Validation

Overview

Validation is a class in Aspose.Cells FOSS for C++.

Represents validation.

This class provides 29 methods for working with Validation objects in C++ programs. Available methods include: AddArea, GetAlertStyle, GetAreas, GetErrorMessage, GetErrorTitle, GetFormula1, GetFormula2, GetIgnoreBlank, GetInCellDropDown, GetInputMessage, GetInputTitle, GetOperator, and 17 additional methods. All public members are accessible to any C++ application after installing the Aspose.Cells FOSS for C++ package.

Methods

SignatureDescription
GetAreas()std::vector<CellArea>Gets 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.
AddArea(area: CellArea)Adds the specified item. The area.
RemoveArea(area: CellArea)Removes the specified item. The area.

See Also

 English