ODF .NET Class Library
Show/Hide TOC

# TextField Class

Defines a control for displaying and inputting text on a single line.

## Definition

Namespace: Independentsoft.Office.Odf.Forms
Assembly: Independentsoft.Office.Odf (in Independentsoft.Office.Odf.dll) Version: 3.0.460.1+37fe42d8e65847775742df0a70fdb403ab6fa65f
C#

    public class TextField : Control

VB

    Public Class TextField
    	Inherits Control

Inheritance
  Object Control TextField

## Constructors

TextField | Initializes a new instance of the TextField class.

## Properties

ControlImplementation | Contains an identifier for a control element.
ConvertEmptyToNull | Specifies whether empty current values are regarded as NULL.
CurrentValue | Specifies the current status of an input control.
DataField | Specifies the name of a column in the result set defined by a (data-aware) form. A control interchanges content with its column when: -the current row of a form changes, the control is initialized with the value from its column. -the user changes the content of a control, this changed value is written back to its column.
DefaultValue | Specifies the default value of an input control.
EnableTabbingNavigation | Specifies whether a control is included in the tabbing navigation order.
EventListeners | (Inherited from Control)
ID | Contains an identifier for a control element.
IsDisabled | Specifies whether a control can accept user input.Controls that are disabled are not included in the tabbing navigation sequence and cannot be focused.
IsPrintable | Specifies whether a control is printed when a user prints a document in which the control is contained.
IsReadOnly | Specifies whether a user can modify the value of a control.
MaximumLength | Specifies the maximum number of characters that a user can enter in an input control.
Name | Contains an identifier for a control element.
Properties | (Inherited from Control)
TabIndex | Contains tabbing navigation order of controls within a form.
Title | Contains additional information about a control. The value of the attribute can be used as a tool tip.

## Methods

Clone | Creates a new object that is a deep copy of the current instance.
Equals | (Inherited from Object)
Finalize | (Inherited from Object)
GetContentElements | Returns all content elements. (Overrides ControlGetContentElements)
GetHashCode | (Inherited from Object)
GetParent | (Inherited from Control)
GetType | (Inherited from Object)
MemberwiseClone | (Inherited from Object)
ToString | Converts the value of the current TextField object to its equivalent string representation. (Overrides ObjectToString)

## See Also

#### Reference

Independentsoft.Office.Odf.Forms Namespace