• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class FormTextData

Represents the data for a text-input form field (FORMTEXT).

Inheritance
object
FormFieldData
FormTextData
Inherited Members
FormFieldData.Name
FormFieldData.StatusText
FormFieldData.HelpText
FormFieldData.Enabled
FormFieldData.CalculateOnExit
FormFieldData.EntryMacro
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DRIT.Document
Assembly: DRIT.Document.dll
Syntax
public class FormTextData : FormFieldData

Properties

DefaultValue

The default value of the text field (shown when the field is empty). Maps to the w:ffData/w:textInput/w:default element.

Declaration
public string DefaultValue { get; set; }
Property Value
Type Description
string

FieldType

Gets the type of this form field.

Declaration
public override FormFieldType FieldType { get; }
Property Value
Type Description
FormFieldType
Overrides
FormFieldData.FieldType

MaximumLength

The maximum number of characters allowed in the text field. A value of 0 means no limit. Maps to the w:ffData/w:textInput/@w:maxLength attribute.

Declaration
public int MaximumLength { get; set; }
Property Value
Type Description
int

TextType

The text type of the field (regular, number, date, etc.). Maps to the w:ffData/w:textInput/@w:type attribute.

Declaration
public FormTextType TextType { get; set; }
Property Value
Type Description
FormTextType

TextValue

The current text value of the field. On read, this is the field result (text between separate and end fldChar). On write, this becomes the field result.

Declaration
public string TextValue { get; set; }
Property Value
Type Description
string

Value

Gets or sets the field value as an object. Derived classes override this to provide type-specific values.

Declaration
public override object Value { get; set; }
Property Value
Type Description
object
Overrides
FormFieldData.Value

ValueFormat

The format applied to the field value (e.g. "Title case", "dd/MM/yyyy"). Maps to the w:ffData/w:textInput/@w:format attribute.

Declaration
public string ValueFormat { get; set; }
Property Value
Type Description
string
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX