ASPxGridListEditor.FocusedObject Property
Gets the ASPxGridListEditor‘s focused object.
Namespace: DevExpress.ExpressApp.Web.Editors.ASPx
Assembly: DevExpress.ExpressApp.Web.v24.2.dll
NuGet Package: DevExpress.ExpressApp.Web
Declaration
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 in ListViewOnly mode. The FocusedObject property has a setter method, but this method calls the ListEditor.FocusedObject virtual property setter which does nothing.