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

Edits file-system item names, initially selecting the name without its extension and rejecting invalid filename characters.

Definition

Namespace:Telerik.WinControls.FileDialogs

Assembly:Telerik.WinControls.UI.dll

Syntax:

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

Inheritance: objectBaseInputEditorBaseTextBoxEditorListViewTextBoxEditorFileBrowserListViewTextBoxEditor

Implements: IInputEditorISupportInitializeIValueEditor

Inherited Members ListViewTextBoxEditor.CreateEditorElement()ListViewTextBoxEditor.OnKeyDown(KeyEventArgs)ListViewTextBoxEditor.OnLostFocus()BaseTextBoxEditor.selectionStartBaseTextBoxEditor.selectionLengthBaseTextBoxEditor.isAtFirstLineBaseTextBoxEditor.isAtLastLineBaseTextBoxEditor.Initialize(object, object)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

Creates the editor and its validation tooltip.

C#
public FileBrowserListViewTextBoxEditor()

Methods

Selects the filename portion without its extension and starts validating changes as they are typed.

C#
public override void BeginEdit()

Overrides: BaseTextBoxEditor.BeginEdit()

Stops change validation and refuses to finish editing while the text contains invalid filename characters.

C#
public override bool EndEdit()
Returns:

bool

false for invalid filename text; otherwise, the result from the base editor.

Overrides: BaseTextBoxEditor.EndEdit()