FlexGrid for WinForms
InsertNode(Int32,Int32) Method



The position where the new node row will be inserted.
Outline level for the new node row.
Adds a new Node row to the row collection at a specified position.
Syntax
'Declaration
 
Public Overloads Function InsertNode( _
   ByVal index As Integer, _
   ByVal level As Integer _
) As Node
'Usage
 
Dim instance As RowCollection
Dim index As Integer
Dim level As Integer
Dim value As Node
 
value = instance.InsertNode(index, level)
public Node InsertNode( 
   int index,
   int level
)
public:
Node^ InsertNode( 
   int index,
   int level
) 

Parameters

index
The position where the new node row will be inserted.
level
Outline level for the new node row.

Return Value

A reference to the Node that was added to the collection.
Remarks
This method is especially useful when the grid is bound to a data source, because in this case you can't change the value of the IsNode property. When the grid is unbound, you can add rows and turn them into nodes later using the IsNode property.
Requirements

Target Platforms: 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

Reference

RowCollection Class
RowCollection Members
Overload List

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Send Feedback