Skip to main content

ShowViewParameters.CreateAllControllers Property

Specifies whether all Controllers relevant to the target View or its Window must be created.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v25.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

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

Property Value

Type Default Description
Boolean true

true to create all relevant Controllers; false to create Controllers only from the Controllers collection.

Remarks

When you display a View, the following Controllers are created:

Disable the CreateAllControllers property to create Controllers only from the Controllers collection. In this case, add the FillActionContainersController to the Controllers collection to display the Actions’ buttons in the Template.

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.

See Also