Skip to main content

BaseEdit.EditValue Property

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

Namespace: DevExpress.Xpf.Editors

Assembly: DevExpress.Xpf.Core.v14.2.dll

#Declaration

[TypeConverter(typeof(ObjectConverter))]
public object EditValue { get; set; }

#Property Value

Type Description
Object

An object that represents the editor's value.

#Remarks

The EditValue property contains the editor's current value.

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 this value is valid, and whether the editor is allowed to lose focus. To disable the editor's validation, set the BaseEdit.CausesValidation property to false.
  • BaseEdit.EditValueChanged - Occurs after the edit value has been validated and changed. For instance, when an end-user types within a TextEdit, this event is raised each time the text is changed.

#Implements

DevExpress.Xpf.Editors.IBaseEdit.EditValue
See Also