Class
BaseTextBoxEditor

Represents a text editor.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

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

Inheritance: objectBaseInputEditorBaseTextBoxEditor

Derived Classes: GanttViewTextBoxEditorListViewTextBoxEditorPropertyGridTextBoxEditorSheetSelectorTextBoxEditorTreeViewTextBoxEditor

Implements: IInputEditorISupportInitializeIValueEditor

Inherited Members BaseInputEditor.isInitializingBaseInputEditor.originalValueBaseInputEditor.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.EditorElementBaseInputEditor.ValueChangingBaseInputEditor.ValueChangedBaseInputEditor.ValidatingBaseInputEditor.ValidatedBaseInputEditor.ValidationError

Constructors

BaseTextBoxEditor()

Initializes a new instance of the RadTextBoxEditor class.

Declaration

cs-api-definition
public BaseTextBoxEditor()

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

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

TextBoxEditorElement

Declaration

cs-api-definition
protected BaseTextBoxEditorElement TextBoxEditorElement { get; }

Property Value

BaseTextBoxEditorElement

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

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 BaseInputEditor.Initialize(object, object)

OnKeyDown(KeyEventArgs)

Declaration

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

Parameters

e

KeyEventArgs

OnLostFocus()

Declaration

cs-api-definition
protected virtual void OnLostFocus()