Skip to main content

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.v26.1.dll

NuGet Package: DevExpress.ExpressApp

Declaration

[DataSourceProperty("Views", new string[]{})]
IModelView View { get; set; }

Property Value

Type Description
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.

XAF Windows Forms Model Editor, View Property, DevExpress

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