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 |
---|---|
IModel |
An IModel |
#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.