Nevron Open Vision Documentation
Nevron.Nov.UI Namespace / NFlexBoxPanel Class / Add Method / Add(NWidget,Double,Double) Method
The widget to add to the panel.
The value to set to the Grow extended property of the widget. If System.Double.NaN, the Grow extended property is not set.
The value to set to the Shrink extended property of the widget. If System.Double.NaN, the Shrink extended property is not set.


In This Topic
    Add(NWidget,Double,Double) Method
    In This Topic
    Adds the given widget to the panel and sets its Grow and Shrink extended properties to the specified values.
    Syntax
    'Declaration
     
    
    Public Overloads Sub Add( _
       ByVal widget As NWidget, _
       ByVal grow As System.Double, _
       ByVal shrink As System.Double _
    ) 
    'Usage
     
    
    Dim instance As NFlexBoxPanel
    Dim widget As NWidget
    Dim grow As System.Double
    Dim shrink As System.Double
     
    instance.Add(widget, grow, shrink)
    public void Add( 
       NWidget widget,
       System.double grow,
       System.double shrink
    )

    Parameters

    widget
    The widget to add to the panel.
    grow
    The value to set to the Grow extended property of the widget. If System.Double.NaN, the Grow extended property is not set.
    shrink
    The value to set to the Shrink extended property of the widget. If System.Double.NaN, the Shrink extended property is not set.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also