We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

TreeNodeAdv nodepaint

Thread ID:

Created:

Updated:

Platform:

Replies:

9010 Dec 2,2003 02:27 PM UTC Dec 2,2003 03:03 PM UTC Windows Forms 1
loading
Tags: Tools
Linda Koeppe
Asked On December 2, 2003 02:27 PM UTC

I am trying to modify what is drawn for a tree node to include an image with the standard text. I am using the NodePaint event to do this, but the problem is that subsequent nodes are drawn on top of previous nodes. I have tried to modify the height of the node, but that doesn’t seem to work. Any ideas on how I might be able to accomplish this would be greatly appreciated.

Linda Koeppe
Replied On December 2, 2003 03:03 PM UTC

I just figured out how to do this. There is an itemHeight property on the tree control. Also, modify the node.nodedata.height in the nodepaint method and that works too. >I am trying to modify what is drawn for a tree node to include an image with the standard text. I am using the NodePaint event to do this, but the problem is that subsequent nodes are drawn on top of previous nodes. I have tried to modify the height of the node, but that doesn’t seem to work. Any ideas on how I might be able to accomplish this would be greatly appreciated.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;