expressappframework-devexpress-dot-expressapp-dot-model-dot-imodelmemberviewitem.md
Specifies the View displayed by the Property Editor. Applies to ListPropertyEditor, DetailPropertyEditor, ObjectPropertyEditor, LookupPropertyEditor, TagBoxListPropertyEditor, and ComboBoxListPropertyEditor types.
Namespace : DevExpress.ExpressApp.Model
Assembly : DevExpress.ExpressApp.v25.2.dll
NuGet Package : DevExpress.ExpressApp
[DataSourceProperty("Views", new string[]{})]
IModelView View { get; set; }
<DataSourceProperty("Views", New String() {})>
Property View As IModelView
| Type | Description |
|---|---|
| IModelView |
An IModelView object that certain Property Editor types use to create their inner View.
|
The Model Editor allows you to set the View property using an auto-populated drop-down list. XAF populates this list based on the Property Editor type:
ListPropertyEditor, LookupPropertyEditor, TagBoxListPropertyEditor, or ComboBoxListPropertyEditor, XAF displays only List Views.DetailPropertyEditor or ObjectPropertyEditor, XAF displays only Detail Views.For more information, refer to the following topics:
Lookup Property Editors are platform-specific, so they are not available in the common module’s Model Editor. To specify the List View model for the Lookup Editor, open the Model Editor for a Model.xafml\MySolution.Blazor.Server and Model.xafml\MySolution.Win file.
Note
XAF ignores the View property value when you use the OpenObject Action to open a View. For more information, refer to the following topic: Built-in Controllers and Actions in the System Module: OpenObjectController.
See Also