eDriven Framework API
CenterPopUp Method (popup, keepCenter)
Namespaces ► eDriven.Gui.Managers ► PopupManager ► CenterPopUp(DisplayObject, Boolean)
eDriven Framework API
Centers the popup after it is created
Declaration Syntax

C# | Visual Basic | Visual C++

    public void CenterPopUp(
    	DisplayObject popup,
    	bool keepCenter
    )

    Public Sub CenterPopUp ( _
    	popup As DisplayObject, _
    	keepCenter As Boolean _
    )

    public:
    void CenterPopUp(
    	DisplayObject^ popup,
    	bool keepCenter
    )

Parameters

popup (DisplayObject)
  The popup to center

keepCenter (Boolean)
  Should the popup manager take care of centering the popup while it's instantiated

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