InputValidationType Class

Validation Type.When the object is serialized out as xml, its qualified name is xvml:VTEdit.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.OpenXmlLeafTextElement
        DocumentFormat.OpenXml.Vml.Spreadsheet.InputValidationType

Namespace:  DocumentFormat.OpenXml.Vml.Spreadsheet
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Class InputValidationType _
    Inherits OpenXmlLeafTextElement
'Usage
Dim instance As InputValidationType
public class InputValidationType : OpenXmlLeafTextElement

Remarks

[ISO/IEC 29500-1 1st Edition]

14.4.2.67 VTEdit (Validation Type)

This element specifies the kind of semantic validation to use for data input to the control. If omitted, the value is assumed to be Text. Permitted values are:

Value

Description

0

Text

1

Integer

2

Number

3

Reference

4

Formula

This element is used for edit controls.

[Example:

<x:ClientData> …
<x:VTEdit>True</x:VTEdit>
</x:ClientData>

end example]

The possible values for this element are defined by the W3C XML Schema integer datatype.

Parent Elements

ClientData (§14.4.2.12)

© ISO/IEC29500: 2008.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

InputValidationType Members

DocumentFormat.OpenXml.Vml.Spreadsheet Namespace