ASPxGridListEditor.FocusedObject Property

Gets the ASPxGridListEditor's focused object.

Namespace: DevExpress.ExpressApp.Web.Editors.ASPx

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

Declaration

public override object FocusedObject { get; set; }
Public Overrides Property FocusedObject As Object

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