Profile Picture

NTreeViewEx Background color not applied

Posted By nicolas edibe 9 Years Ago
Author
Message
nicolas edibe
Posted 9 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: 7 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 9 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)

Group: Forum Members
Last Active: Last Year
Posts: 3,039, Visits: 3,746
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