expressappframework-devexpress-dot-expressapp-dot-systemmodule-dot-imodelnavigationitem.md
Specifies the View displayed when choosing the current item in the navigation control.
Namespace : DevExpress.ExpressApp.SystemModule
Assembly : DevExpress.ExpressApp.v25.2.dll
NuGet Package : DevExpress.ExpressApp
[DataSourceProperty("Application.Views", new string[]{})]
IModelView View { get; set; }
<DataSourceProperty("Application.Views", New String() {})>
Property View As IModelView
| Type | Description |
|---|---|
| IModelView |
An IModelView object specifying the View displayed when choosing the current item in the navigation control.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the View property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
using(IObjectSpace objectSpace = Application.CreateObjectSpace(typeof(Email))) {
IModelListView modelListView = (IModelListView)e.ModelNavigationItem.View;
int objectsCount = objectSpace.GetObjectsCount(typeof(Email), CriteriaOperator.Parse(modelListView.Criteria));
See Also