Controller.AfterConstruction Event
Occurs after a Controller is created.
Namespace: DevExpress.ExpressApp
Assembly: DevExpress.ExpressApp.v25.2.dll
NuGet Package: DevExpress.ExpressApp
Declaration
Event Data
The AfterConstruction event's data class is EventArgs.
Remarks
Handle this event to perform specific actions directly after creating the current Controller.
The following example specifies the ViewController.TargetObjectType property:
public partial class MyCustomController : ViewController {
// ...
private void MyCustomController_AfterConstruction(object sender, EventArgs e) {
TargetObjectType = typeof(ReportDataV2);
}
}
See Also