I have a problem with syntax in C#. I need to make my own treeview control in which I just need to add one property to nodes. For an example, if I have list of files listed in my tree, I want to keep filesize somewhere that is related to that node.
travis67 0 Newbie Poster
Recommended Answers
Jump to PostPlease clarify more, or figure on paper what you need exactly
Jump to PostYou can set the ToolTip of the node to these information or you can set the node text = "Folder name - Folder size"
Jump to Postclass MyTreeNode : TreeNode { //your properties }
All 10 Replies
Ramy Mahrous 401 Postaholic Featured Poster
travis67 0 Newbie Poster
sknake 1,622 Senior Poster Featured Poster
Ramy Mahrous 401 Postaholic Featured Poster
travis67 0 Newbie Poster
travis67 0 Newbie Poster
sknake 1,622 Senior Poster Featured Poster
Ramy Mahrous 401 Postaholic Featured Poster
travis67 0 Newbie Poster
sknake 1,622 Senior Poster Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.