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

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

#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