skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • Roadmap
    • Release History
  • Docs & Support
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class TextBoxField

Represents a text box form field that allows users to enter single-line or multi-line text input with optional password masking and character limits.

Inheritance
System.Object
FormField
FormField<VariableContentWidget>
TextField
TextBoxField
Inherited Members
TextField.Value
TextField.DefaultValue
FormField<VariableContentWidget>.Widgets
FormField.Equals(Object)
FormField.GetHashCode()
FormField.Name
FormField.TextProperties
FormField.Actions
FormField.UserInterfaceName
FormField.MappingName
FormField.IsReadOnly
FormField.IsRequired
FormField.ShouldBeSkipped
FormField.StructureTag
System.Object.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.Windows.Documents.Fixed.Model.InteractiveForms
Assembly: Telerik.Windows.Documents.Fixed.dll

Syntax

public sealed class TextBoxField : TextField, IInstanceIdOwner, IStructuralElement, IWidgetCreator<VariableContentWidget>

Constructors

TextBoxField(String)

Initializes a new instance of TextBoxField class.

Declaration
public TextBoxField(string fieldName)
Parameters
System.String fieldName

The field name.

Properties

AllowScroll

Gets or sets boolean value indicating whether to allow scrolling for bigger text content. If the scrolling is not allowed then the maximum text input is restricted to the Widget annotation rectangle.

Declaration
public bool AllowScroll { get; set; }
Property Value
System.Boolean

true to allow scrolling for content overflow; false to restrict text input to the visible widget rectangle.

FieldType

Gets the field type.

Declaration
public override FormFieldType FieldType { get; }
Property Value
FormFieldType

Overrides
FormField.FieldType

IsFileSelect

Gets or sets boolean value indicating whether the field represents pathname of a file whose contents are to be submitted as the value of the field.

Declaration
public bool IsFileSelect { get; set; }
Property Value
System.Boolean

true if the field should allow file selection; false for regular text input.

IsMultiline

Gets or sets a value indicating whether the text box allows multiple lines of text input with line breaks.

Declaration
public bool IsMultiline { get; set; }
Property Value
System.Boolean

true to allow multiline text entry; false for single-line text input only.

IsPassword

Gets or sets a value indicating whether the text input is a password field.

Declaration
public bool IsPassword { get; set; }
Property Value
System.Boolean

true if it is a password; otherwise false.

MaxLengthOfInputCharacters

Gets or sets the max length of the input characters. If null then the text input is not restricted from these value.

Declaration
public int? MaxLengthOfInputCharacters { get; set; }
Property Value
System.Nullable<System.Int32>

The maximum character limit, or null to allow unlimited text input.

ShouldSpellCheck

Gets or sets boolean value indicating whether the inputted text should be spell checked.

Declaration
public bool ShouldSpellCheck { get; set; }
Property Value
System.Boolean

true to enable spell checking; false to disable spell checking for this field.

Getting Started
  • Getting Started
Support Resources
  • Documentation
Community
  • Forums
  • Blogs
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.