NevronOpenVision
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
    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