TreeList.AppendNode(Object, Int32, Int32, Int32, Int32, CheckState, NodeCheckBoxStyle, Object) Method
Adds a TreeListNode that contains the specified values to the XtraTreeList.
Namespace: DevExpress.XtraTreeList
Assembly: DevExpress.XtraTreeList.v24.2.dll
NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList
#Declaration
public virtual TreeListNode AppendNode(
object nodeData,
int parentNodeId,
int imageIndex,
int selectImageIndex,
int stateImageIndex,
CheckState checkState,
NodeCheckBoxStyle childrenCheckBoxStyle,
object tag
)
#Parameters
Name | Type | Description |
---|---|---|
node |
Object | An array of values or a Data |
parent |
Int32 | An integer value specifying the identifier of the parent node. |
image |
Int32 | A zero-based index of the image displayed within the node. |
select |
Int32 | A zero-based index of the image displayed within the node when it is focused or selected. |
state |
Int32 | An integer value that specifies the index of the node’s state image. |
check |
Check |
The node’s check state. |
children |
DevExpress. |
A Node |
tag | Object | An object that contains information associated with the Tree List node. This value is assigned to the Tree |
#Returns
Type | Description |
---|---|
Tree |
A Tree |