NTreeViewEx Background color not applied


Author
Message
nicolas edibe
nicolas edibe
Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)
Group: Forum Members
Posts: 1, Visits: 4

I would like to have a white background color for NTreeviewEx instead of the default grey.

I set:
nTreeViewEx1.BackColor = System.Drawing.Color.White;

But it does not get applied and the component stays grey.

How to fix this ?


Nevron Support
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K
Hello Nicolass,

To change the background color of NTreeViewEx control you need to set its FillInfo property as follows:


NFillInfo fillInfo = nTreeViewEx1.FillInfo;
fillInfo.FillStyle = FillStyle.Solid;
fillInfo.Color = Color.Black;


I hope this helps.

Best Regards,
Nevron Support Team


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search