Back to Devexpress

IModelMemberViewItem.View Property

expressappframework-devexpress-dot-expressapp-dot-model-dot-imodelmemberviewitem.md

latest3.3 KB
Original Source

IModelMemberViewItem.View Property

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

Declaration

csharp
[DataSourceProperty("Views", new string[]{})]
IModelView View { get; set; }
vb
<DataSourceProperty("Views", New String() {})>
Property View As IModelView

Property Value

TypeDescription
IModelView

An IModelView object that certain Property Editor types use to create their inner View.

|

Remarks

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:

  • For ListPropertyEditor, LookupPropertyEditor, TagBoxListPropertyEditor, or ComboBoxListPropertyEditor, XAF displays only List Views.
  • For 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

IModelMemberViewItem Interface

IModelMemberViewItem Members

DevExpress.ExpressApp.Model Namespace