Profile Picture

NTreeViewEx Background color not applied

Posted By nicolas edibe 6 Years Ago
Author
Message
nicolas edibe
Posted 6 Years Ago
View Quick Profile
Forum Newbie

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
Last Active: 4 Years Ago
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
Posted 6 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,090 reputation)Supreme Being (4,090 reputation)Supreme Being (4,090 reputation)Supreme Being (4,090 reputation)Supreme Being (4,090 reputation)Supreme Being (4,090 reputation)Supreme Being (4,090 reputation)Supreme Being (4,090 reputation)Supreme Being (4,090 reputation)

Group: Forum Members
Last Active: 10 hours ago
Posts: 2,962, Visits: 3,363
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





Similar Topics


Reading This Topic