Skip to main content
All docs
V25.1
  • .NET 8.0+

    ListEditor.RestoreFocusedObject Property

    Specifies whether XAF should restore focus after the object collection changes.

    Namespace: DevExpress.ExpressApp.Editors

    Assembly: DevExpress.ExpressApp.v25.1.dll

    NuGet Package: DevExpress.ExpressApp

    Declaration

    public bool RestoreFocusedObject { get; set; }

    Property Value

    Type Description
    Boolean

    true if XAF should restore focus; otherwise, false.

    Remarks

    Set the RestoreFocusedObject property to false to prevent XAF from restoring the object focus when object collection changes. For instance, this can be useful when implementing Web Style Row Selection in GridView.

    See Also