Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

IModelViewController.TargetViewType Property

Indicates the type of View for which the Controller is activated.

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

ViewType TargetViewType { get; }

#Property Value

Type Description
ViewType

A ViewType enumeration value indicating the type of View for which the Controller is activated.

Available values:

Name Description
Any

An Action or a View Controller will be activated in Frames (Windows) with any Views.

DetailView

An Action or a View Controller will be activated in Frames (Windows) with Detail Views.

ListView

An Action or a View Controller will be activated in Frames (Windows) with List Views.

DashboardView

An Action or a View Controller will be activated in Frames (Windows) with Dashboard Views.

See Also