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.v21.2.dll
Declaration
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. |
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ShowViewSource class.
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.