Validation Class

Validation class

Represents data validation.settings.


type Validation struct  {
	ptr unsafe.Pointer
}

Constructors

MethodDescription

Methods

MethodDescription
IsNullChecks whether the implementation object is nullptr.
GetOperatorRepresents the operator for the data validation.
SetOperatorRepresents the operator for the data validation.
GetAlertStyleRepresents the validation alert style.
SetAlertStyleRepresents the validation alert style.
GetTypeRepresents the data validation type.
SetTypeRepresents the data validation type.
GetInputMessageRepresents the data validation input message.
SetInputMessageRepresents the data validation input message.
GetInputTitleRepresents the title of the data-validation input dialog box.
SetInputTitleRepresents the title of the data-validation input dialog box.
GetErrorMessageRepresents the data validation error message.
SetErrorMessageRepresents the data validation error message.
GetErrorTitleRepresents the title of the data-validation error dialog box.
SetErrorTitleRepresents the title of the data-validation error dialog box.
GetShowInputIndicates whether the data validation input message will be displayed whenever the user selects a cell in the data validation range.
SetShowInputIndicates whether the data validation input message will be displayed whenever the user selects a cell in the data validation range.
GetShowErrorIndicates whether the data validation error message will be displayed whenever the user enters invalid data.
SetShowErrorIndicates whether the data validation error message will be displayed whenever the user enters invalid data.
GetIgnoreBlankIndicates whether blank values are permitted by the range data validation.
SetIgnoreBlankIndicates whether blank values are permitted by the range data validation.
GetFormula1_Bool_BoolGets the value or expression associated with this validation.
GetFormula2_Bool_BoolGets the value or expression associated with this validation.
GetFormula1_Bool_Bool_Int_IntGets the value or expression associated with this validation for specific cell.
GetFormula2_Bool_Bool_Int_IntGets the value or expression associated with this validation for specific cell.
SetFormula1_String_Bool_BoolSets the value or expression associated with this validation.
SetFormula2_String_Bool_BoolSets the value or expression associated with this validation.
GetFormula1Represents the value or expression associated with the data validation.
SetFormula1_StringRepresents the value or expression associated with the data validation.
GetFormula2Represents the value or expression associated with the data validation.
SetFormula2_StringRepresents the value or expression associated with the data validation.
GetListValueGet the value for list of the validation for the specified cell.
GetValue1Represents the first value associated with the data validation.
SetValue1Represents the first value associated with the data validation.
GetValue2Represents the second value associated with the data validation.
SetValue2Represents the second value associated with the data validation.
GetValueGet the value of validation on the specific cell.
GetInCellDropDownIndicates whether data validation displays a drop-down list that contains acceptable values.
SetInCellDropDownIndicates whether data validation displays a drop-down list that contains acceptable values.
AddArea_CellAreaApplies the validation to the area.
AddArea_CellArea_Bool_BoolApplies the validation to the area.
RemoveAreaRemove the validation settings in the range.
RemoveACellRemove the validation settings in the cell.
CopyCopy validation.