Click or drag to resize

IDataValidation Interface

Contains a condition and the formatting attributes applied to the cells, if the condition is met.

Namespace: Spire.Xls.Core
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public interface IDataValidation : IExcelApplication, 
	IOptimizedUpdate

The IDataValidation type exposes the following members.

Properties
Name Description
Public property AlertStyle
Style of the error.
Public property AllowType
Type of the allowed data.
Public property CompareOperator
Compare operator used.
Public property DataRange
Range of possible values.
Public property DateTime1
First formula's DateTime value.
Public property DateTime2
Second formula's DateTime value.
Public property ErrorMessage
Text of the error message.
Public property ErrorTitle
Title of the error box.
Public property Formula1
Value of the first formula.
Public property Formula2
Value of the second formula.
Public property IgnoreBlank
Indicates whether empty cell is allowed.
Public property InputMessage
Text of the prompt box.
Public property InputTitle
Title of the prompt box.
Public property IsInputPositionFixed
Indicates whether position of the prompt box is fixed.
Public property IsInputVisible
Indicates whether prompt box is visible.
Public property IsListInFormula
Indicates whether formula contains list of values.
Public property IsSuppressDropDownArrow
Indicates whether to suppress drop-down arrow.
Public property Parent
Gets the parent object of the current instance.
(Inherited from IExcelApplication .)
Public property PromptBoxHPosition
Horizontal position of the prompt box.
Public property PromptBoxVPosition
Vertical position of the prompt box.
Public property ShowError
Indicates whether to show error box.
Public property ShowInput
Indicates whether to show prompt box.
Public property Values
Array of possible values (when values in list are entered manually)
Top
Methods
Name Description
Public method BeginUpdate
This method should be called before several updates to the object will take place.
(Inherited from IOptimizedUpdate .)
Public method EndUpdate
This method should be called after several updates to the object took place.
(Inherited from IOptimizedUpdate .)
Top
See Also