Skip to main content
.NET Framework 4.5.2+

Frame.SetView(View, Boolean, Frame) Method

Sets a specified View for the current Frame.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v22.2.dll

NuGet Package: DevExpress.ExpressApp


public bool SetView(
    View view,
    bool updateControllers,
    Frame sourceFrame


Name Type Description
view View

A View object which is set for the current Frame.

updateControllers Boolean

true If the Frame’s Controllers are activated after setting a new View; otherwise, false.

sourceFrame Frame

A Frame object in which a new View was requested to be created.


Type Description

true if an old View can be changed by another one; otherwise, false.


For internal use only.

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


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