Hi All,
I am using Telerik controls for treeview.How can i convert winforms controls(treeview,TreeNodeCollection,treenode) in my WPF Application,here i am using telerik treeview controles.
EX:
private void BuildConfigDetailsData_Helper(TreeNodeCollection ndcol, ref string strConfigDetailsData)
{
string strImagesPath = "file:///" + _Params.SizerFolderName + "xml\\";
TreeNode nd;
for (int iCount = 0; iCount < ndcol.Count; iCount++)
{
nd = ndcol[iCount];
if (nd.Nodes.Count > 0)
{
strConfigDetailsData += "<TABLE BORDER=0><TR><TD WIDTH=10></TD><TD><IMG SRC='" + strImagesPath+ "minus.gif'> " + nd.Text + "</A><DIV>";
}
else
{
strConfigDetailsData += "<TABLE BORDER=0><TR><TD WIDTH=10></TD><TD><IMG SRC='" + strImagesPath+ "leaf.gif'> " + nd.Text + "</A><DIV>";
}
if (nd.Nodes.Count > 0)
{
BuildConfigDetailsData_Helper(nd.Nodes, ref strConfigDetailsData);
private void BuildConfigDetailsData_Helper(TreeNodeCollection ndcol, ref string strConfigDetailsData)
{
string strImagesPath = "file:///" + _Params.SizerFolderName + "xml\\";
TreeNode nd;
for (int iCount = 0; iCount < ndcol.Count; iCount++)
Please let me know how can i proceed.Which tree classes can i use.....
Thanks,
Ranjith
Ranjithkumar