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

Represents a textbox editor in RadGridView.

Definition

Constructors

Initializes a new instance of the RadTextBoxControlEditor class.

C#
public RadTextBoxControlEditor()

Properties

Gets or sets whether the editor accepts the Enter key in multiline mode

C#
public bool AcceptsReturn { get; set; }

Gets or sets whether the editor accepts the Tab key in multiline mode

C#
public bool AcceptsTab { get; set; }

Indicates if all characters 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: BaseGridEditor.DataType

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 NullText { get; set; }

Gets the text box.

C#
protected RadTextBoxControlElement TextBox { get; }
Property Value:

The text box.

Gets or sets the value.

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

The value.

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()

Ends the edit operation.

C#
public override bool EndEdit()
Returns:

bool

Overrides: BaseInputEditor.EndEdit()

Translates system key down events to the owner element.

C#
public override void OnKeyDown(KeyEventArgs e)
Parameters:eKeyEventArgs

Overrides: BaseGridEditor.OnKeyDown(KeyEventArgs)

Handles the key up events in the editor.

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

A System.Windows.Forms.KeyEventArgs that contains the event data.