Skip to main content
.NET 6.0+

View.LoadModel(Boolean) Method

Applies the Application Model changes to the current View.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v23.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public void LoadModel(
    bool createControls
)

Parameters

Name Type Description
createControls Boolean

true, if the View controls are created within the LoadModel method, otherwise, false.

Remarks

You can use the LoadModel method with the Frame.SetView method to reload the Application Model’s changes. Refer to the How to: Apply Application Model Changes to the Current View Immediately topic for an example.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the LoadModel(Boolean) method.

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