The requested page is not available for the requested platform. You are viewing the content for Default platform.

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
)
Public Sub New(
    sourceFrame As Frame,
    sourceAction As ActionBase
)

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