Skip to main content
.NET Framework 4.6.2+

IModelMemberViewItem.View Property

Specifies a View displayed by the Property Editor. Applies to ListPropertyEditor, DetailPropertyEditor, ObjectPropertyEditor, LookupPropertyEditor, and TagBoxListPropertyEditor types.

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v25.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 with the help of an auto-populated drop-down list. XAF populates the list based on the Property Editor type:

  • For ListPropertyEditor, LookupPropertyEditor, or TagBoxListPropertyEditor, XAF displays only List Views.
  • For DetailPropertyEditor or ObjectPropertyEditor, XAF displays only Detail Views.

For more information, refer to the following topics:

Since Lookup Property Editors are platform-specific, they are not available in the common module’s Model Editor. Invoke the Model Editor for a Model.xafml\MySolution.Blazor.Server, Model.xafml\MySolution.Win, or Model.xafml\MySolution.Web file to specify the List View model for the Lookup Editor.

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