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

Edits a PropertyGrid value as text, applying password masking and converter-based read-only behavior.

Definition

Constructors

C#
public PropertyGridTextBoxEditor()

Methods

Applies password masking from PasswordPropertyTextAttribute and makes the text read-only when the item's converter cannot accept strings.

C#
public override void Initialize(object owner, object value)
Parameters:ownerobject

The PropertyGrid row that owns the editor.

valueobject

The value to display initially.

Overrides: BaseTextBoxEditor.Initialize(object, object)

Cancels on Escape, commits on Enter except when modifiers are exactly Control in multiline mode, and transfers Up/Down navigation in single-line mode or at multiline line boundaries.

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

The key-down event data.

Overrides: BaseTextBoxEditor.OnKeyDown(KeyEventArgs)

Ends the edit when focus leaves the owning PropertyGrid control and the visual row is still valid.

C#
protected override void OnLostFocus()

Overrides: BaseTextBoxEditor.OnLostFocus()

Notifies the owning PropertyGrid table after the editor value changes.

C#
public override void OnValueChanged()

Overrides: BaseInputEditor.OnValueChanged()

Forwards the editor's proposed value change to the owning PropertyGrid table.

C#
public override void OnValueChanging(ValueChangingEventArgs e)
Parameters:eValueChangingEventArgs

The proposed value and cancellation state.

Overrides: BaseInputEditor.OnValueChanging(ValueChangingEventArgs)