H Hrvoje Voda Mar 11, 2005 #1 I made my own user treeview control. Now, I can't access the method treeview.Nodes ! Why? Hrcko
D DalePres Mar 12, 2005 #2 You need to expose the Treeview.Nodes collection of the Treeview as a public property of your user control. DalePres MCAD, MCDBA, MCSE
You need to expose the Treeview.Nodes collection of the Treeview as a public property of your user control. DalePres MCAD, MCDBA, MCSE
H Hrvoje Voda Mar 16, 2005 #3 How? Hrcko DalePres said: You need to expose the Treeview.Nodes collection of the Treeview as a public property of your user control. DalePres MCAD, MCDBA, MCSE Click to expand...
How? Hrcko DalePres said: You need to expose the Treeview.Nodes collection of the Treeview as a public property of your user control. DalePres MCAD, MCDBA, MCSE Click to expand...
D DalePres Mar 16, 2005 #4 In your user control: public TreeNodeCollection Nodes { get { return myTreeView.Nodes; } set { myTreeView.Nodes = value; } } In your control consumer: TreeviewNode node = myUserControl.Nodes[intIndex]; HTH DalePres
In your user control: public TreeNodeCollection Nodes { get { return myTreeView.Nodes; } set { myTreeView.Nodes = value; } } In your control consumer: TreeviewNode node = myUserControl.Nodes[intIndex]; HTH DalePres