Back to Devexpress

ListEditorInplaceEditController Class

expressappframework-devexpress-dot-expressapp-dot-blazor-dot-systemmodule-ec69e38d.md

latest2.4 KB
Original Source

ListEditorInplaceEditController Class

A ViewController descendant that allows you to customize inplace editing behavior.

Namespace : DevExpress.ExpressApp.Blazor.SystemModule

Assembly : DevExpress.ExpressApp.Blazor.v25.2.dll

NuGet Package : DevExpress.ExpressApp.Blazor

Declaration

csharp
public class ListEditorInplaceEditController :
    ViewController<ListView>
vb
Public Class ListEditorInplaceEditController
    Inherits ViewController(Of ListView)

Remarks

If a Detail View contains a nested List View, a click on the Save button in the List View’s in-line edit form does not save changes in that List View. These changes are applied only when you save the object associated with the root Detail View. To change this behavior, override the AutoCommitChanges property of the ListEditorInplaceEditController:

csharp
public class CustomListEditorInplaceEditController : ListEditorInplaceEditController {
    protected override bool AutoCommitChanges => View.Id == "SomeBusinessObject_ListView" ? true : base.AutoCommitChanges;
}

Implements

ISupportUpdate

Inheritance

Object MarshalByRefObject Component Controller ViewController ViewController<ListView> ListEditorInplaceEditController

See Also

ListEditorInplaceEditController Members

DevExpress.ExpressApp.Blazor.SystemModule Namespace