eDriven Framework API
CreatePopup Method (popupType, parent, modal, centered)
Namespaces ► eDriven.Gui.Managers ► PopupManager ► CreatePopup(Type, DisplayObjectContainer, Boolean, Boolean)
eDriven Framework API
Creates the popup via factory/reflection
Declaration Syntax

C# | Visual Basic | Visual C++

    public DisplayObject CreatePopup(
    	Type popupType,
    	DisplayObjectContainer parent,
    	bool modal,
    	bool centered
    )

    Public Function CreatePopup ( _
    	popupType As Type, _
    	parent As DisplayObjectContainer, _
    	modal As Boolean, _
    	centered As Boolean _
    ) As DisplayObject

    public:
    DisplayObject^ CreatePopup(
    	Type^ popupType,
    	DisplayObjectContainer^ parent,
    	bool modal,
    	bool centered
    )

Parameters

popupType (Type)
  The popup class for instantiation

parent (DisplayObjectContainer)
  Parent component (for position calculations)

modal (Boolean)
  Is this a modal popup

centered (Boolean)
  Should popup be centered

Return Value

Assembly: eDriven.Gui (Module: eDriven.Gui) Version: 2.0.1.0 (2.0.1.0)