Back to Devexpress

IModelAction.Controller Property

expressappframework-devexpress-dot-expressapp-dot-model-dot-imodelaction.md

latest1.8 KB
Original Source

IModelAction.Controller Property

Indicates the Controller in which the current Action is contained.

Namespace : DevExpress.ExpressApp.Model

Assembly : DevExpress.ExpressApp.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
[DataSourceProperty("Application.ActionDesign.Controllers", new string[]{})]
IModelController Controller { get; }
vb
<DataSourceProperty("Application.ActionDesign.Controllers", New String() {})>
ReadOnly Property Controller As IModelController

Property Value

TypeDescription
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:

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

See Also

IModelAction Interface

IModelAction Members

DevExpress.ExpressApp.Model Namespace