Class
RadTextBoxControlEditor

Represents a textbox editor in RadGridView.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

cs-api-definition
[TelerikToolboxCategory("Editors")]
public class RadTextBoxControlEditor : BaseGridEditor, IInputEditor, IValueEditor, ISupportInitialize

Inheritance: objectBaseInputEditorBaseGridEditorRadTextBoxControlEditor

Derived Classes: RadAutoCompleteBoxEditor

Implements: IInputEditorISupportInitializeIValueEditor

Inherited Members BaseGridEditor.Initialize(object, object)BaseGridEditor.Validate()BaseGridEditor.OnValueChanging(ValueChangingEventArgs)BaseGridEditor.OnValueChanged()BaseGridEditor.OnMouseWheel(MouseEventArgs)BaseGridEditor.EndEditOnLostFocusBaseGridEditor.ClearCellTextBaseInputEditor.isInitializingBaseInputEditor.originalValueBaseInputEditor.BeginInit()BaseInputEditor.EndInit()BaseInputEditor.OnValidating(CancelEventArgs)BaseInputEditor.OnValidated()BaseInputEditor.OnValidationError(ValidationErrorEventArgs)BaseInputEditor.IsActiveBaseInputEditor.IsInitalizingBaseInputEditor.IsInBeginEditModeBaseInputEditor.OwnerElementBaseInputEditor.RightToLeftBaseInputEditor.EditorManagerBaseInputEditor.IsModifiedBaseInputEditor.EditorElementBaseInputEditor.ValueChangingBaseInputEditor.ValueChangedBaseInputEditor.ValidatingBaseInputEditor.ValidatedBaseInputEditor.ValidationError

Constructors

RadTextBoxControlEditor()

Initializes a new instance of the RadTextBoxControlEditor class.

Declaration

cs-api-definition
public RadTextBoxControlEditor()

Properties

AcceptsReturn

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

Declaration

cs-api-definition
public bool AcceptsReturn { get; set; }

Property Value

bool

AcceptsTab

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

Declaration

cs-api-definition
public bool AcceptsTab { get; set; }

Property Value

bool

CharacterCasing

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

Declaration

cs-api-definition
public CharacterCasing CharacterCasing { get; set; }

Property Value

CharacterCasing

DataType

Gets the type of the editor value

Declaration

cs-api-definition
public override Type DataType { get; }

Property Value

Type

Overrides BaseGridEditor.DataType

MaxLength

Specifies the maximum length of characters which could be entered

Declaration

cs-api-definition
public int MaxLength { get; set; }

Property Value

int

Multiline

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

Declaration

cs-api-definition
public bool Multiline { get; set; }

Property Value

bool

NullText

Gets or sets the null value for the editor.

Declaration

cs-api-definition
public string NullText { get; set; }

Property Value

string

TextBox

Gets the text box.

Declaration

cs-api-definition
protected RadTextBoxControlElement TextBox { get; }

Property Value

RadTextBoxControlElement

The text box.

Value

Gets or sets the value.

Declaration

cs-api-definition
public override object Value { get; set; }

Property Value

object

The value.

Overrides BaseInputEditor.Value

Methods

BeginEdit()

Starts the editing process. Used internally in RadGridView.

Declaration

cs-api-definition
public override void BeginEdit()

Overrides BaseInputEditor.BeginEdit()

CreateEditorElement()

Creates a new editor element.

Declaration

cs-api-definition
protected override RadElement CreateEditorElement()

Returns

RadElement

a RadElement if successful

Overrides BaseInputEditor.CreateEditorElement()

EndEdit()

Ends the edit operation.

Declaration

cs-api-definition
public override bool EndEdit()

Returns

bool

Overrides BaseInputEditor.EndEdit()

OnKeyDown(KeyEventArgs)

Translates system key down events to the owner element.

Declaration

cs-api-definition
public override void OnKeyDown(KeyEventArgs e)

Parameters

e

KeyEventArgs

Overrides BaseGridEditor.OnKeyDown(KeyEventArgs)

OnKeyUp(KeyEventArgs)

Handles the key up events in the editor.

Declaration

cs-api-definition
protected virtual void OnKeyUp(KeyEventArgs e)

Parameters

e

KeyEventArgs

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