Class
RadTextBoxEditor

Represents a textbox editor in RadGridView.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

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

Inheritance: objectBaseInputEditorBaseGridEditorRadTextBoxEditor

Implements: IInputEditorISupportInitializeIValueEditor

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

Constructors

RadTextBoxEditor()

Initializes a new instance of the RadTextBoxEditor class.

Declaration

cs-api-definition
public RadTextBoxEditor()

Properties

AcceptsReturn

Gets or sets whether the editor accepts the tab 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

ClearCellText

Gets a value indicating whether the cell should clear its text when adding an editor.

Declaration

cs-api-definition
public override bool ClearCellText { get; }

Property Value

bool

Overrides BaseGridEditor.ClearCellText

DataType

Gets the type of the editor value

Declaration

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

Property Value

Type

Overrides BaseGridEditor.DataType

IsModified

Gets a value indicating whether the editor value is modified.

Declaration

cs-api-definition
public override bool IsModified { get; }

Property Value

bool

Overrides BaseInputEditor.IsModified

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

NullValue

Gets or sets the null value for the editor.

Declaration

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

Property Value

string

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

Initialize(object, object)

Initializes the editor. Used internally in RadGridView.

Declaration

cs-api-definition
public override void Initialize(object owner, object value)

Parameters

owner

object

The owner of this editor.

value

object

The value of the editor.

Overrides BaseGridEditor.Initialize(object, object)

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.