ValidationModel

ValidationModel

Przegląd

ValidationModel jest klasą w Aspose.Cells FOSS dla C++.

Reprezentuje model walidacji.

Ta klasa udostępnia 31 metod do pracy z obiektami ValidationModel w programach C++. Dostępne metody obejmują: GetAlertStyle, GetAreas, GetErrorMessage, GetErrorTitle, GetFormula1, GetFormula2, GetIgnoreBlank, GetInCellDropDown, GetInputMessage, GetInputTitle, GetOperator, GetShowError oraz 18 dodatkowych metod. Wszystkie publiczne składowe są dostępne dla każdej aplikacji C++ po zainstalowaniu pakietu Aspose.Cells FOSS dla C++. Metody dostępowe: OperatorType, ValidationAlertType, ValidationType.

Metody dostępowe

NazwaTypDostępOpis
ValidationTypeValidationTypeOdczytPobiera typ walidacji.
ValidationAlertTypeValidationAlertTypeOdczytPobiera typ alertu walidacji.
OperatorTypeOperatorTypeOdczytPobiera typ operatora.

Metody

SygnaturaOpis
ValidationType() → ValidationTypePobiera lub ustawia typ.
ValidationAlertType() → ValidationAlertTypePobiera lub ustawia styl alertu.
OperatorType() → OperatorTypePobiera lub ustawia operator.
GetAreas() → std::vector<CellArea>Pobiera obszary.
GetAreas() → std::vector<CellArea>Zwraca obszary.
GetType() → ValidationTypePobiera lub ustawia typ.
SetType(value: ValidationType)Ustawia wartość typu.
GetAlertStyle() → ValidationAlertTypePobiera lub ustawia styl alertu.
SetAlertStyle(value: ValidationAlertType)Ustawia wartość stylu alertu.
GetOperator() → OperatorTypePobiera lub ustawia operator.
SetOperator(value: OperatorType)Ustawia wartość operatora.
GetFormula1() → std::stringPobiera lub ustawia formułę1.
SetFormula1(value: std::string)Ustawia wartość formula1.
GetFormula2() → std::stringPobiera lub ustawia formula2.
SetFormula2(value: std::string)Ustawia wartość formula2.
GetIgnoreBlank() → boolPobiera lub ustawia wartość wskazującą, czy ignorować puste pola.
SetIgnoreBlank(value: bool)Ustawia wartość ignorowania pustych.
GetInCellDropDown() → boolPobiera lub ustawia wartość wskazującą, czy w komórce jest lista rozwijana.
SetInCellDropDown(value: bool)Ustawia wartość listy rozwijanej w komórce.
GetInputTitle() → std::stringPobiera lub ustawia tytuł wejściowy.
SetInputTitle(value: std::string)Ustawia wartość tytułu wejściowego.
GetInputMessage() → std::stringPobiera lub ustawia komunikat wejściowy.
SetInputMessage(value: std::string)Ustawia wartość komunikatu wejściowego.
GetErrorTitle() → std::stringPobiera lub ustawia tytuł błędu.
SetErrorTitle(value: std::string)Ustawia wartość tytułu błędu.
GetErrorMessage() → std::stringPobiera lub ustawia komunikat o błędzie.
SetErrorMessage(value: std::string)Ustawia wartość komunikatu o błędzie.
GetShowInput() → boolPobiera lub ustawia wartość określającą, czy wyświetlać pole wprowadzania.
SetShowInput(value: bool)Ustawia wartość wyświetlania wejścia.
GetShowError() → boolPobiera lub ustawia wartość wskazującą, czy wyświetlać błąd.
SetShowError(value: bool)Ustawia wartość wyświetlania błędu.

Zobacz także

 Polski