Skip to main content
.NET Framework 4.6.2+

ShowViewSource Class

Represents a set of parameters that specify the context from which the ShowViewStrategyBase.ShowView method has been invoked.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public class ShowViewSource

The following members return ShowViewSource objects:

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.

SourceAction If a View has to be displayed as the result of an Action, this property contains reference to the Action’s instance.
SourceController If a View has to be displayed as the result of an Action, this property contains reference to the instance of the Action‘s Controller.
SourceView Contains a reference to the View that is represented by the Frame from which the ShowView method is invoked.
SourceFrame Contains a reference to the Frame from which the ShowView method is invoked.

Inheritance

Object
ShowViewSource
See Also