Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

Frame.SetView(View, Boolean, Frame) Method

Sets a specified View for the current Frame.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

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

#Parameters

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.

#Returns

Type Description
Boolean

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

#Remarks

For internal use only.

See Also