NDecorator Border color change programatically


Author
Message
Rudi Groenewald
Rudi Groenewald
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
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
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 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


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