# GoogleSheetsDataValidationRule

Provider-neutral table-column validation metadata for native Google Sheets tables.

Class 

`OfficeIMO.Excel.GoogleSheets`

**Namespace**

`OfficeIMO.Excel.GoogleSheets`

**Assembly**

`OfficeIMO.Excel.GoogleSheets`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[GoogleSheetsRequest.cs:606](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Excel.GoogleSheets/GoogleSheetsRequest.cs#L606)

**Modifiers**

sealed

Provider-neutral table-column validation metadata for native Google Sheets tables.

## Inheritance

- object
- GoogleSheetsDataValidationRule

## Usage

Explore 3 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 3

- Property [GoogleSheetsCellData.DataValidationRule](/api/excel-google-sheets/officeimo-excel-googlesheets-googlesheetscelldata/#property-datavalidationrule)
- Property [GoogleSheetsSetDataValidationRequest.Rule](/api/excel-google-sheets/officeimo-excel-googlesheets-googlesheetssetdatavalidationrequest/#property-rule)
- Property [GoogleSheetsTableColumn.DataValidationRule](/api/excel-google-sheets/officeimo-excel-googlesheets-googlesheetstablecolumn/#property-datavalidationrule)

Filter members 

Show inherited

## Constructors

`public GoogleSheetsDataValidationRule()` [#](#constructor-ctor)

[GoogleSheetsRequest.cs:606](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Excel.GoogleSheets/GoogleSheetsRequest.cs#L606)

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public string ConditionType { get; set; }` [#](#property-conditiontype)

[GoogleSheetsRequest.cs:606](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Excel.GoogleSheets/GoogleSheetsRequest.cs#L606)

Gets or sets the Sheets validation-condition type.

`public IReadOnlyList<string> Values { get; set; }` [#](#property-values)

[GoogleSheetsRequest.cs:608](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Excel.GoogleSheets/GoogleSheetsRequest.cs#L608)

Gets or sets the condition's argument values.

`public bool Strict { get; set; }` [#](#property-strict)

[GoogleSheetsRequest.cs:610](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Excel.GoogleSheets/GoogleSheetsRequest.cs#L610)

Gets or sets whether invalid input is rejected.

`public bool ShowCustomUi { get; set; }` [#](#property-showcustomui)

[GoogleSheetsRequest.cs:612](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Excel.GoogleSheets/GoogleSheetsRequest.cs#L612)

Gets or sets whether the validation UI is displayed.

<!-- PowerForge markdown artifact sha256:0A53415A527225AD7FA7C376E66E28DD1AB819003F9C2F54399FC10C94E52593 -->
