Nevron Open Vision Documentation
Nevron.Nov.UI Namespace / NFlexBoxPanel Class / Insert Method / Insert(Int32,NWidget,Double,Double) Method
The index to insert the widget at.
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
    Insert(Int32,NWidget,Double,Double) Method
    In This Topic
    Inserts the given widget at the specified index of the panel and sets its Grow and Shrink extended properties to the specified values.
    Syntax
    'Declaration
     
    
    Public Overloads Sub Insert( _
       ByVal index As System.Integer, _
       ByVal widget As NWidget, _
       ByVal grow As System.Double, _
       ByVal shrink As System.Double _
    ) 
    'Usage
     
    
    Dim instance As NFlexBoxPanel
    Dim index As System.Integer
    Dim widget As NWidget
    Dim grow As System.Double
    Dim shrink As System.Double
     
    instance.Insert(index, widget, grow, shrink)
    public void Insert( 
       System.int index,
       NWidget widget,
       System.double grow,
       System.double shrink
    )

    Parameters

    index
    The index to insert the widget at.
    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