Skip to main content
.NET Framework 4.5.2+

ShowViewSource(Frame, ActionBase) Constructor

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

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.1.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