Skip to main content
.NET Framework 4.6.2+

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(Frame, ActionBase) Constructor

Creates and initializes an instance of the ShowViewSource class with the specified parameters.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

public ShowViewSource(
    Frame sourceFrame,
    ActionBase sourceAction
)

#Parameters

Name Type Description
sourceFrame Frame

A Frame from which the ShowViewStrategyBase.ShowView method is called. This parameter’s value is used to initialize the ShowViewSource.SourceFrame property.

sourceAction ActionBase

If a View has to be created as the result of an Action, this parameter should contain a reference to the Action‘s instance. This parameter’s value is used to initialize the ShowViewSource.SourceAction property.

#Remarks

Generally, you do not need to instantiate a ShowViewSource object. If you need to display a View in a UI, use the PopupWindowShowAction or the ActionBaseEventArgs.ShowViewParameters parameter in an Action‘s Execute event handler.

See Also