Skip to main content
.NET Framework 4.6.2+

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

IModelWindowController.TargetWindowType Property

Indicates the type of the Window for which the current Controller is activated.

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

WindowType TargetWindowType { get; }

#Property Value

Type Description
WindowType

A WindowType enumeration value specifying the type of the Window for which the Current Controller is activated.

Available values:

Name Description
Any

Specifies that the Window Controller will be activated in any Window.

Main

Specifies that the Window Controller will be activated in the main Window (see Window.IsMain).

Child

Specifies that the Window Controller will be activated in all Windows except the main Window.

See Also