New to Telerik UI for WinFormsStart a free 30-day trial

Represents a text editor.

Definition

Constructors

Initializes a new instance of the RadTextBoxEditor class.

C#
public BaseTextBoxEditor()

Fields

C#
protected bool isAtFirstLine
C#
protected bool isAtLastLine
C#
protected int selectionLength
C#
protected int selectionStart

Properties

Gets or sets wheather the editor accepts tha tab key in multiline mode

C#
public bool AcceptsReturn { get; set; }

Gets or sets wheather the editor accepts tha tab key in multiline mode

C#
public bool AcceptsTab { get; set; }

Indicates if all charactes should be left alone or converted to upper or lower case

C#
public CharacterCasing CharacterCasing { get; set; }

Gets the type of the editor value

C#
public override Type DataType { get; }

Overrides: BaseInputEditor.DataType

Gets a value indicating whether the editor value is modified.

C#
public override bool IsModified { get; }

Overrides: BaseInputEditor.IsModified

Specifies the maximum length of characters which could be entered

C#
public int MaxLength { get; set; }

The text could span more than a line when the value is true

C#
public bool Multiline { get; set; }

Gets or sets the null value for the editor.

C#
public string NullValue { get; set; }
C#
protected BaseTextBoxEditorElement TextBoxEditorElement { get; }

Gets or sets the editor value.

C#
public override object Value { get; set; }

Overrides: BaseInputEditor.Value

Methods

Starts the editing process. Used internally in RadGridView.

C#
public override void BeginEdit()

Overrides: BaseInputEditor.BeginEdit()

Creates a new editor element.

C#
protected override RadElement CreateEditorElement()
Returns:

RadElement

a RadElement if successful

Overrides: BaseInputEditor.CreateEditorElement()

Finishes the editing process. Used internally in RadGridView.

C#
public override bool EndEdit()
Returns:

bool

Overrides: BaseInputEditor.EndEdit()

Initializes the editor. Used internally in RadGridView.

C#
public override void Initialize(object owner, object value)
Parameters:ownerobject

The owner of this editor.

valueobject

The value of the editor.

Overrides: BaseInputEditor.Initialize(object, object)

C#
protected virtual void OnKeyDown(KeyEventArgs e)
Parameters:eKeyEventArgs
C#
protected virtual void OnLostFocus()