Skip to main content
.NET 6.0+

ShowViewParameters.CreateAllControllers Property

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

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.1.dll

NuGet Package: DevExpress.ExpressApp

Declaration

[DefaultValue(true)]
public bool CreateAllControllers { get; set; }

Property Value

Type Default Description
Boolean true

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

Remarks

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