Profile Picture

NDecorator Border color change programatically

Posted By Rudi Groenewald 14 Years Ago
Author
Message
Rudi Groenewald
Posted 14 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)

Group: Forum Members
Last Active: 7 Years Ago
Posts: 9, Visits: 2
Hi there,

I'm using the NDecorator control in a couple of forms, and I want to change the border color programatically based on an event that happens in my code. I checked the properties and the border get's manipulated by changing the StrokeInfo Class properties on design time, but programatically this class is readonly.

I had a look at fillinfo class as explained in the user guide, but I can't seem to find anything to manipulate the strokeinfo class.

Any ideas?




Nevron Support
Posted 13 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,009
Hello Rudi,

Instead of setting the StrokeInfo property you can set only the Color property of the StrokeInfo:
nDecorator1.StrokeInfo.Color = Color.Blue;

Best Regards,
Nevron Support Team





Similar Topics


Reading This Topic