Xceed Toolkit for .NET Maui v2.0 Documentation
Xceed.Maui.Toolkit Assembly / Xceed.Maui.Toolkit Namespace / PopupContainer Class / UpdateSize Method


In This Topic
    UpdateSize Method (PopupContainer)
    In This Topic
    Updates the dimensions of the PopupContainer &, therefore, of its Popup.
    Syntax
    'Declaration
     
    
    Public Sub UpdateSize() 
    'Usage
     
    
    Dim instance As PopupContainer
     
    instance.UpdateSize()
    public void UpdateSize()
    Remarks
    Calling this method has an immediate effect on the Popup's dimensions. For example, when the PopupContainer's Content is modified, this method is called & instantly recalculates the PopupContainer's size, therefore immediately affecting the size of the Popup too.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also