.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET 5.0+

PropertyEditor.AllowEditChanged Event

Occurs when the current PropertyEditor‘s PropertyEditor.AllowEdit state has changed.

Namespace: DevExpress.ExpressApp.Editors

Assembly: DevExpress.ExpressApp.v21.2.dll

Declaration

public event EventHandler AllowEditChanged

Event Data

The AllowEditChanged event's data class is EventArgs.

Remarks

Handle this event to execute custom code in response to a change in the current Property Editor’s AllowEdit property.

A View’s AllowEdit state is changed in two cases:

  • When the AllowEdit collection does not have any elements with the value part set to false remaining.
  • When the AllowEdit collection, which has only items with values set to true, gets an element with the value part set to false.

To change a Property Editor’s AllowEdit state, use methods of the BoolList object returned by the AllowEdit property.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AllowEditChanged event.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also