Click or drag to resize

XlsValidationWrapper Class

Represents a wrapper class for Excel validation.
Inheritance Hierarchy
System Object
Spire.Xls.Core.Spreadsheet CommonWrapper
Spire.Xls.Core.Spreadsheet XlsValidationWrapper
Spire.Xls Validation

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

The XlsValidationWrapper type exposes the following members.

Constructors
Name Description
Public method XlsValidationWrapper(XlsRange, XlsValidation)
Initializes a new instance of the XlsValidationWrapper class with the specified range and validation,.
Public method XlsValidationWrapper(XlsRange, XlsValidation, Boolean)
Initializes a new instance of the XlsValidationWrapper class. If the provided XlsValidation object is null, it creates a new validation for the specified range and sets it up based on the read-only flag.
Top
Properties
Name Description
Public property AlertStyle
Style of the error.
Public property AllowType
Gets or sets the type of data that is allowed in the cell range associated with the data validation.
Protected property BeginCallsCount
Returns number of begin update calls that have no corresponding end update. Read-only.
(Inherited from CommonWrapper .)
Public property CompareOperator
Gets or sets the comparison operator used in data validation.
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
Message of the error box.
Public property ErrorTitle
Title of the error box.
Public property Formula1
Gets or sets the first formula associated with data validation.
Public property Formula2
Gets or sets the second formula associated with data validation.
Public property IgnoreBlank
Indicates whether empty cell is allowed.
Public property InputMessage
Message of the input box.
Public property InputTitle
Title of the input 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 data validation instance.
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 CommonWrapper .)
Public method Clone
Creates a copy of the current object.
(Inherited from CommonWrapper .)
Public method EndUpdate
This method should be called after several updates to the object.
(Inherited from CommonWrapper .)
Public method Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object .)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object .)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object .)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Protected method MemberwiseClone
Creates a shallow copy of the current Object .
(Inherited from Object .)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Top
See Also