FlexGrid for WinForms
AddNode(NodeTypeEnum,Object,Object,Image) Method



A value from the NodeTypeEnum enumeration that specifies where the new node will be added with respect to this node (e.g. Child, Sibling).
Value of the Data property for the new node.
Value of the Key property for the new node.
Value of the Image property for the new node.
Creates a node row at a specified position relative to this node.
Syntax
'Declaration
 
Public Overloads Function AddNode( _
   ByVal position As NodeTypeEnum, _
   ByVal data As Object, _
   ByVal key As Object, _
   ByVal img As Image _
) As Node
'Usage
 
Dim instance As Node
Dim position As NodeTypeEnum
Dim data As Object
Dim key As Object
Dim img As Image
Dim value As Node
 
value = instance.AddNode(position, data, key, img)

Parameters

position
A value from the NodeTypeEnum enumeration that specifies where the new node will be added with respect to this node (e.g. Child, Sibling).
data
Value of the Data property for the new node.
key
Value of the Key property for the new node.
img
Value of the Image property for the new node.

Return Value

A reference to the new Node added to the grid.
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

Node Class
Node Members
Overload List

 

 


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

Send Feedback