ShowViewParameters.CreateAllControllers Property
Specifies whether all Controllers that satisfy the target View or its Window must be created.
Namespace: DevExpress.ExpressApp
Assembly: DevExpress.ExpressApp.v19.1.dll
Declaration
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.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CreateAllControllers property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.