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 jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX UI for Silverlight UI for PHP UI for JSP
    Mobile
    UI for .NET MAUI UI for Xamarin
    Document Management
    Telerik Document Processing
    Desktop
    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF UI for UWP
    Reporting & Mocking
    Telerik Reporting Telerik Report Server Telerik JustMock
    Automated Testing
    Test Studio Test Studio Dev Edition
    CMS
    Sitefinity
    UI/UX Tools
    ThemeBuilder Design System Kit
    Debugging
    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Jam FiddlerCap FiddlerCore
    Extended Reality
    UI for Unity XR
    Free Tools
    JustAssembly JustDecompile VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
  • Blazor Hybrid
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • Blazor Tutorials and Learning
    • First Stepswith Blazor Web Assembly
    • First Steps with Blazor Server
    • First Steps with Blazor Hybrid
    • Submit a Ticket

    Docs & Resources

    • Docs
    • Demos
    • Modernization and Migration
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs

    Productivity and Design Tools

    • REPL for Blazor
    • ThemeBuilder
    • Design System Documentation
    • Figma Kits
    • Visual Studio Extensions
    • Visual Studio Code Extensions
    • Embedded Reporting
  • Pricing
  • Search
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class TextBoxBase

The base class for textbox components.

Inheritance
System.Object
BaseComponent
TelerikInputBase<System.String>
TextBoxBase
TelerikMaskedTextBox
TelerikTextArea
TelerikTextBox
Inherited Members
TelerikInputBase<String>.SetParametersAsync(ParameterView)
TelerikInputBase<String>.OnInitializedAsync()
TelerikInputBase<String>.FocusAsync()
TelerikInputBase<String>.CascadedEditContext
TelerikInputBase<String>.FloatingLabel
TelerikInputBase<String>.Id
TelerikInputBase<String>.Enabled
TelerikInputBase<String>.TabIndex
TelerikInputBase<String>.ValueExpression
TelerikInputBase<String>.ValueChanged
TelerikInputBase<String>.Value
TelerikInputBase<String>.OnChange
TelerikInputBase<String>.OnBlur
TelerikInputBase<String>.AriaLabel
TelerikInputBase<String>.AriaLabelledBy
TelerikInputBase<String>.AriaDescribedBy
TelerikInputBase<String>.ValidateOn
BaseComponent.ShouldRender()
BaseComponent.InitLocalizer()
BaseComponent.ThrowIfParameterIsNull(Object, String)
BaseComponent.HaveOptionsChanged(IDictionary<String, Object>, IDictionary<String, Object>)
BaseComponent.GetClassString(String[])
BaseComponent.InvokeAsync<T>(String, Object[])
BaseComponent.InvokeAsync<T>(String, CancellationToken, Object[])
BaseComponent.InvokeVoidAsync(String, Object[])
BaseComponent.InvokeComponentMethodAsync<T>(String, Object[])
BaseComponent.InvokeComponentMethodAsync<T>(String, CancellationToken, Object[])
BaseComponent.InvokeVoidComponentMethodAsync(String, Object[])
BaseComponent.InvokeDisposeAsync()
BaseComponent.StateHasChanged()
BaseComponent.RootComponent
BaseComponent.Class
Namespace: Telerik.Blazor.Components.Common
Assembly: Telerik.Blazor.dll

Syntax

public abstract class TextBoxBase : TelerikInputBase<string>, IDisposable, ILabelableInput

Constructors

TextBoxBase()

Declaration
protected TextBoxBase()

Properties

AutoCapitalize

Defines the inputmode HTML attribute of the component. Support and behavior depends on the browser.

Declaration
public string AutoCapitalize { get; set; }
Property Value
System.String

DebounceDelay

Time in ms between last typed symbol and the updating of the value. Default is 150ms.

Declaration
public int DebounceDelay { get; set; }
Property Value
System.Int32

FillMode

Declaration
public abstract string FillMode { get; set; }
Property Value
System.String

Name

Defines the name HMTL attribute of the TextBox.

Declaration
public string Name { get; set; }
Property Value
System.String

Placeholder

Defines the placeholder HTML attribute of the component.

Declaration
public string Placeholder { get; set; }
Property Value
System.String

ReadOnly

The parameter is used to specify if the input field should be read-only. When set to true, the input becomes non-editable.

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

Rounded

Declaration
public abstract string Rounded { get; set; }
Property Value
System.String

Size

Declaration
public abstract string Size { get; set; }
Property Value
System.String

SpellCheck

Defines the spellcheck HTML attribute of the component. Support and behavior depends on the user environment.

Declaration
public string SpellCheck { get; set; }
Property Value
System.String

Title

Defines the title HTML attribute of the component.

Declaration
public string Title { get; set; }
Property Value
System.String

Width

Defines the width of the Component as a CSS value.

Declaration
public string Width { get; set; }
Property Value
System.String

Methods

Dispose()

Declaration
public override void Dispose()
Overrides
Telerik.Blazor.Components.Common.TelerikInputBase<System.String>.Dispose()

InitJsComponentAsync()

Declaration
protected Task InitJsComponentAsync()
Returns
System.Threading.Tasks.Task

OnAfterRenderAsync(Boolean)

Declaration
protected override Task OnAfterRenderAsync(bool firstRender)
Parameters
System.Boolean firstRender

Returns
System.Threading.Tasks.Task

Overrides
BaseComponent.OnAfterRenderAsync(Boolean)

OnAfterRenderInternalAsync(Boolean)

Declaration
protected virtual Task OnAfterRenderInternalAsync(bool firstRender)
Parameters
System.Boolean firstRender

Returns
System.Threading.Tasks.Task

OnInitialized()

Declaration
protected override void OnInitialized()

OnParametersSetAsync()

Declaration
protected override Task OnParametersSetAsync()
Returns
System.Threading.Tasks.Task

Overrides
Telerik.Blazor.Components.Common.TelerikInputBase<System.String>.OnParametersSetAsync()

OnParametersSetInternalAsync()

Declaration
protected virtual Task OnParametersSetInternalAsync()
Returns
System.Threading.Tasks.Task

Getting Started
  • Client-side Blazor
  • Server-side Blazor
  • Demos
Community
  • Forums
  • Blogs
  • Feedback Portal
Support Resources
  • Demos
  • Knowledge Base
  • Samples Repo
  • Localizations Repo
Sample Applications
  • Dashboard
  • PWA - Stocks
  • PWA - Blazing Coffee Roasters

Copyright © 2019 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.