While Migrating Winforms to WPF,Insted of "TreeNodeCollection" what Collection can i use for RadTreeView in WPF.Now I am getting error like"Cannot implicitly convert type System.Windows.form.TreeNode to Telaric.Windows.Controls.RadTreeView."
EX:
private void ConvertXmlNodeToTreeNode(XmlNode xmlNode, TreeNodeCollection treeNodes)
{
RadTreeView newTreeNode = treeNodes.Add(xmlNode.Name); Error:Cannot implicitly convert type System.Windows.form.TreeNode to Telaric.Windows.Controls.RadTreeView."
foreach (XmlAttribute zzz in xmlNode.Attributes)
{
ConvertXmlNodeToTreeNode(zzz, newTreeNode.Items); Error:For this had some invalid arguments.
}
}
Please Help me ASAP.
Regards,
Ranjith
EX:
private void ConvertXmlNodeToTreeNode(XmlNode xmlNode, TreeNodeCollection treeNodes)
{
RadTreeView newTreeNode = treeNodes.Add(xmlNode.Name); Error:Cannot implicitly convert type System.Windows.form.TreeNode to Telaric.Windows.Controls.RadTreeView."
foreach (XmlAttribute zzz in xmlNode.Attributes)
{
ConvertXmlNodeToTreeNode(zzz, newTreeNode.Items); Error:For this had some invalid arguments.
}
}
Please Help me ASAP.
Regards,
Ranjith