Back to Devexpress

ShowViewSource Class

expressappframework-devexpress-dot-expressapp-794f7c93.md

latest2.0 KB
Original Source

ShowViewSource Class

Contains a set of parameters that specify the current view context.

Namespace : DevExpress.ExpressApp

Assembly : DevExpress.ExpressApp.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
public class ShowViewSource
vb
Public Class ShowViewSource

Remarks

When an XAF application needs to display a View, the application calls the ShowView method. To correctly display the View, the ShowView method requires information on the current context in the form of a ShowViewSource object. For this purpose, the ShowViewSource class exposes the following public properties.

SourceActionIf a View has to be displayed as the result of an Action, this property contains reference to the Action’s instance.
SourceControllerIf a View has to be displayed as the result of an Action, this property contains reference to the instance of the Action‘s Controller.
SourceViewContains a reference to the View that is represented by the Frame from which the ShowView method is invoked.
SourceFrameContains a reference to the Frame from which the ShowView method is invoked.

Inheritance

Object ShowViewSource

See Also

ShowViewSource Members

DevExpress.ExpressApp Namespace