Back to Devexpress

PropertyEditor.ControlValueChanged Event

expressappframework-devexpress-dot-expressapp-dot-editors-dot-propertyeditor-f83fc7e9.md

latest2.0 KB
Original Source

PropertyEditor.ControlValueChanged Event

Occurs after the underlying control’s value has been changed.

Namespace : DevExpress.ExpressApp.Editors

Assembly : DevExpress.ExpressApp.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
public event EventHandler ControlValueChanged
vb
Public Event ControlValueChanged As EventHandler

Event Data

The ControlValueChanged event's data class is EventArgs.

Remarks

Handle this event to perform custom actions with the newly set control value. XAF handles the ControlValueChanged event of all Property Editors to promptly react to control value changes - for example, to enable the Save action.

PropertyEditor descendants use the OnControlValueChanged method to raise the ControlValueChanged event. In custom Property Editors, call the OnControlValueChanged method after the control value changes, as shown in the following examples:

See Also

PropertyEditor Class

PropertyEditor Members

DevExpress.ExpressApp.Editors Namespace