Skip to main content
A newer version of this page is available. .

ShowViewSource(Frame, ActionBase) Constructor

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

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v19.1.dll

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