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

Edits string values through a RadBrowseEditorElement and forwards its value and keyboard notifications to overridable hooks.

Definition

Constructors

C#
public BaseBrowseEditor()

Fields

C#
protected Type valueType

Properties

Gets the data type reported by this editor, which is always string.

C#
public override Type DataType { get; }

Overrides: BaseInputEditor.DataType

Gets whether the browse element's text differs from the value last assigned to the editor.

C#
public override bool IsModified { get; }

Overrides: BaseInputEditor.IsModified

Gets or sets the text value of the browse element; assigned non-string values are converted with ToString().

C#
public override object Value { get; set; }

Overrides: BaseInputEditor.Value

Methods

Connects value and input notifications, then selects and focuses the text box for editing.

C#
public override void BeginEdit()

Overrides: BaseInputEditor.BeginEdit()

Creates the browse element that hosts the text box and dialog button.

C#
protected override RadElement CreateEditorElement()
Returns:

RadElement

A new RadBrowseEditorElement.

Overrides: BaseInputEditor.CreateEditorElement()

Removes the input and value-change subscriptions established by BeginEdit().

C#
public override bool EndEdit()
Returns:

bool

true after the editor has ended the edit session.

Overrides: BaseInputEditor.EndEdit()

Provides an override point for key-down input from the browse element.

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

The key-down event data.

Provides an override point for key-up input from the browse element.

C#
protected virtual void OnKeyUp(KeyEventArgs e)
Parameters:eKeyEventArgs

The key-up event data.

Provides an override point called when the hosted text box loses focus.

C#
protected virtual void OnLostFocus()
C#
protected virtual void OnOpenFileDialogOpening(OpenFileDialogOpeningEventArgs e)
Parameters:eOpenFileDialogOpeningEventArgs