The requested page is not available for the requested platform. You are viewing the content for Default platform.

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

[DefaultValue(true)]
public bool CreateAllControllers { get; set; }
<DefaultValue(True)>
Public Property CreateAllControllers As Boolean

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