Home - Forums-.NET - FlyGrid.Net (Windows Forms) - Clone a Node

FlyGrid.Net (Windows Forms)

.NET Datagrid - Fast, highly customizable, industry standards .NET data grid control for WinForms

This forum related to following products: FlyGrid.Net

Clone a Node
Link Posted: 01-Feb-2007 12:31
I need to clone a node in in Windows.Forms.FlyGrid. When I run the following code, it make a copy i.e. the new node and the old node point to the same nodes, thus changes in one affect the others.

TargetNode.Items.Add(SourceNode);


I want to achieve:

TargetNode.Items.Add(SourceNode.Clone());
Link Posted: 02-Feb-2007 10:01
You can use this code from C# samples to clone NodeBase instance of any type.