Validation
Przegląd
Validation jest klasą w Aspose.Cells FOSS dla .NET.
Reprezentuje walidację.
Ta klasa udostępnia 2 metody do pracy z obiektami Validation w programach .NET. Dostępne metody to: AddArea, RemoveArea. Wszystkie eksportowane elementy są dostępne dla każdej aplikacji .NET po zainstalowaniu pakietu Aspose.Cells FOSS dla .NET. Właściwości: AlertStyle, Areas, ErrorMessage, ErrorTitle, Formula1, Formula2 oraz 8 kolejnych.
Opis
Validation jest klasą w bibliotece Aspose.Cells FOSS dla .NET, która udostępnia 2 metody i 14 właściwości do programowego użycia.
Klasa dodatkowo udostępnia właściwość Areas (pobiera obszary).
Właściwości
| Nazwa | Typ | Dostęp | Opis |
|---|---|---|---|
Areas | IReadOnlyList<CellArea> | Odczyt | Pobiera obszary. |
Type | ValidationType | Odczyt/zapis | Pobiera lub ustawia typ. |
AlertStyle | ValidationAlertType | Odczyt/zapis | Pobiera lub ustawia styl alertu. |
Operator | OperatorType | Odczyt/zapis | Pobiera lub ustawia operator. |
Formula1 | string | Odczyt/zapis | Pobiera lub ustawia formula1. |
Formula2 | string | Odczyt/zapis | Pobiera lub ustawia formułę2. |
IgnoreBlank | bool | Odczyt/zapis | Pobiera lub ustawia wartość ignore blank. |
InCellDropDown | bool | Odczyt/zapis | Pobiera lub ustawia listę rozwijaną w komórce. |
InputTitle | string | Odczyt/zapis | Pobiera lub ustawia tytuł wejściowy. |
InputMessage | string | Odczyt/zapis | Pobiera lub ustawia wiadomość wejściową. |
ErrorTitle | string | Odczyt/zapis | Pobiera lub ustawia tytuł błędu. |
ErrorMessage | string | Odczyt/zapis | Pobiera lub ustawia komunikat o błędzie. |
ShowInput | bool | Odczyt/zapis | Pobiera lub ustawia wyświetlanie wejścia. |
ShowError | bool | Odczyt/zapis | Pobiera lub ustawia wyświetlanie błędu. |
Metody
| Sygnatura | Opis |
|---|---|
AddArea(area: CellArea) | Obszar. |
RemoveArea(area: CellArea) | Obszar. |