Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+
  • The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.
  • The page you are viewing does not exist in the .NET Core 3.0+ platform documentation. This link will take you to the parent topic of the current section.

ASPxGridListEditor.FocusedObject Property

Gets the ASPxGridListEditor‘s focused object.

Namespace: DevExpress.ExpressApp.Web.Editors.ASPx

Assembly: DevExpress.ExpressApp.Web.v19.2.dll

Declaration

public override object FocusedObject { get; set; }

Property Value

Type Description
Object

The focused object.

Remarks

The FocusedObject property has a value in the following cases:

  • there is a new object created via the new item row (this new object is returned);
  • there is a single selected object in the grid (this selected object is returned).

In other cases (e.g., when there are multiple selected objects or when there is no selection) the FocusedObject returns null.

Tip

To perform the required actions when the FocusedObject property’s value is changed, handle the ListEditor.FocusedObjectChanged event.

Note

The ASPxGridListEditor does not support changing the focused object. The FocusedObject property has a setter method, but this method calls the ListEditor.FocusedObject virtual property setter which does nothing.

See Also