Class
BaseTextBoxControlEditor

Represents a text editor.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

cs-api-definition
public class BaseTextBoxControlEditor : BaseInputEditor, IInputEditor, IValueEditor, ISupportInitialize

Inheritance: objectBaseInputEditorBaseTextBoxControlEditor

Derived Classes: PropertyGridTextBoxControlEditor

Implements: IInputEditorISupportInitializeIValueEditor

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

Constructors

BaseTextBoxControlEditor()

Declaration

cs-api-definition
public BaseTextBoxControlEditor()

Fields

isAtFirstLine

Declaration

cs-api-definition
protected bool isAtFirstLine

Field Value

bool

isAtLastLine

Declaration

cs-api-definition
protected bool isAtLastLine

Field Value

bool

selectionLength

Declaration

cs-api-definition
protected int selectionLength

Field Value

int

selectionStart

Declaration

cs-api-definition
protected int selectionStart

Field Value

int

Properties

AcceptsReturn

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

Declaration

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

Property Value

bool

AcceptsTab

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

Declaration

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

Property Value

bool

CharacterCasing

Indicates if all charactes 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 BaseInputEditor.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 text for the editor.

Declaration

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

Property Value

string

TextBox

Declaration

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

Property Value

RadTextBoxControlElement

Value

Gets or sets the editor value.

Declaration

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

Property Value

object

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

Finishes the editing process. Used internally in RadGridView.

Declaration

cs-api-definition
public override bool EndEdit()

Returns

bool

Overrides BaseInputEditor.EndEdit()

OnKeyDown(KeyEventArgs)

Declaration

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

Parameters

e

KeyEventArgs

OnLostFocus()

Declaration

cs-api-definition
protected virtual void OnLostFocus()