New to Telerik UI for WinForms? Start a free 30-day trial

Provides text editing with list-view commit, cancel, and row-navigation behavior.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class ListViewTextBoxEditor : BaseTextBoxEditor, IInputEditor, IValueEditor, ISupportInitialize

Inheritance: objectBaseInputEditorBaseTextBoxEditorListViewTextBoxEditor

Derived Classes: FileBrowserListViewTextBoxEditor

Implements: IInputEditorISupportInitializeIValueEditor

Inherited Members BaseTextBoxEditor.selectionStartBaseTextBoxEditor.selectionLengthBaseTextBoxEditor.isAtFirstLineBaseTextBoxEditor.isAtLastLineBaseTextBoxEditor.Initialize(object, object)BaseTextBoxEditor.BeginEdit()BaseTextBoxEditor.EndEdit()BaseTextBoxEditor.ValueBaseTextBoxEditor.NullValueBaseTextBoxEditor.CharacterCasingBaseTextBoxEditor.MultilineBaseTextBoxEditor.MaxLengthBaseTextBoxEditor.AcceptsTabBaseTextBoxEditor.AcceptsReturnBaseTextBoxEditor.TextBoxEditorElementBaseTextBoxEditor.DataTypeBaseTextBoxEditor.IsModifiedBaseInputEditor.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

C#
public ListViewTextBoxEditor()

Methods

Creates the text editor element with left-aligned content and vertical stretching.

C#
protected override RadElement CreateEditorElement()
Returns:

RadElement

The configured text editor element.

Overrides: BaseTextBoxEditor.CreateEditorElement()

Commits on Enter unless Shift is the only modifier and cancels on Escape; in single-line editing or at a multiline edge, Up and Down end editing and forward the key to the list view for row navigation.

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

The key event data.

Overrides: BaseTextBoxEditor.OnKeyDown(KeyEventArgs)

Commits the edit when focus leaves the entire list-view control.

C#
protected override void OnLostFocus()

Overrides: BaseTextBoxEditor.OnLostFocus()