Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Red isn't a constant
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01064507
Message ID:
01064534
Views:
23
Einar,

You can't as Color.Red is not a constant however to get round this you can use the readonly modifier to achieve the same effect.
private static readonly Color ROW_COLOR_OFF = Color.Red;
Regards
Neil
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform