Skip to main content
.NET 6.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.v23.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

[DataSourceProperty("Items", new string[]{})]
IModelViewItem DefaultFocusedItem { get; set; }

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