Skip to main content
.NET 6.0+

DevExpress v24.1 Update — Your Feedback Matters

Our What's New in v24.1 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.1.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