Skip to main content

BaseEdit.EditValue Property

Gets or sets the editor’s value. This is a dependency property.

Namespace: DevExpress.UI.Xaml.Editors

Assembly: DevExpress.UI.Xaml.Editors.v21.2.dll

NuGet Package: DevExpress.Uwp.Controls

Declaration

public object EditValue { get; set; }

Property Value

Type Description
Object

An object that is the editor’s value.

Remarks

The EditValue property contains an editor’s current value which is valid. If an end-user has entered an invalid value, it is not posted to the EditValue until it is corrected.

By default, each time the EditValue property’s value is changed, the following events are raised:

  • BaseEdit.Validate - This event is raised before the editor’s value is changed, and enables you to specify whether the editor’s value is valid, and whether the editor is allowed to lose focus. To disable validation, set the BaseEdit.CausesValidation property to false.
  • BaseEdit.EditValueChanged - Occurs after the edit value has been validated and changed.

If the BaseEdit.ValidateOnTextInput property is set to false, the text entered by the end-user is posted to the EditValue after the ENTER key has been pressed or the editor has lost focus.

See Also