TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Richard Hor
NA
1
0
How to change color for Treeview.SelectedNode
Mar 24 2010 12:27 AM
By default, the SelectedNode in Treeview should have backgound color SystemColors.Highlight and fore color SystemColors.HighlightText.
What i want is the SelectedNode to be hightlighted in different fore color (instead of SystemColors.HighlightText)
I've tried to add this code treeView.SelectedNode.ForeColor = Colors.Blue in event handler for AfterSelect, BeforeSelect. However, it did not work as expected.
Haven't tried before to alter the Paint/DrawNode event.
Has anyone had solution? Thx
Reply
Answers (
1
)
Working with multiple forms
C#.NET appl licensing