Skip to main content
.NET 8.0+

IModelAction.Controller Property

Indicates the Controller in which the current Action is contained.

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

[DataSourceProperty("Application.ActionDesign.Controllers", new string[]{})]
IModelController Controller { get; }

Property Value

Type Description
IModelController

An IModelController object representing the Controller node corresponding to the Controller in which the current Action is contained.

Remarks

You can use this property to determine the Controller that hosts the current Action:

IModelAction.Controller

For details, refer to the Determine an Action’s Controller and Identifier topic.

See Also