ShowViewParameters.CreateAllControllers Property

Specifies whether all Controllers that satisfy the target View or its Window must be created.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v18.1.dll

Declaration

public bool CreateAllControllers { get; set; }
Public Property CreateAllControllers As Boolean

Property Value

Type Description
Boolean

true if all Controllers that satisfy the target View or its Window are created; otherwise, false.

Set this property to false if you only need to create the Controllers from the ShowViewParameters.Controllers collection for the target View or its Window. In this instance, all the Controllers from the Application Model Basics that satisfy your View or its Window will not be created, and consequently, activated.

By default, this property is set to true.

Note

When the CreateAllControllers property is set to false, add the FillActionContainersController to the ShowViewParameters.Controllers collection, if you want the Actions' buttons (of other Controllers from this collection) to be created in a Template.

See Also