Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.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