.NET Core 3.0+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

IModelDetailViewDefaultFocusedItem.DefaultFocusedItem Property

Specifies the Property Editor which will be focused when the current Detail View is displayed.

Namespace: DevExpress.ExpressApp.SystemModule

Assembly: DevExpress.ExpressApp.v20.2.dll

Declaration

[DataSourceProperty("Items")]
IModelViewItem DefaultFocusedItem { get; set; }
<DataSourceProperty("Items")>
Property DefaultFocusedItem As IModelViewItem

Property Value

Type Description
IModelViewItem

An IModelViewItem object representing the ViewItem node corresponding to the default View Item.

Remarks

This property affects only the root Detail Views (see View.IsRoot). For instance, the Detail View shown alongside the List View (see Display a Detail View with a List View), is not root. The DefaultFocusedItem property does not take effect in this case. The reason for this behavior is that otherwise, focus will leave the grid bounds when iterating through the List View using the keyboard.

See Also