Is there an existing .net class (or available one) that already encapsulates all/most of the options available thru css?
ie: MyStyleClass msc = new MyStyleClass(); msc.font-family = "arial";
Im looking for an existing class that exposes these properties w/o style("font-family") = "arial";
I didnt see anything while searching through existing .net framework, but i may not be looking for the right thing.
Why? I need this functionality and plan to create the actual .css from the properties set in the class and i dont want to re-invent the wheel.
:-)
update
Thank you for your answers so far, but my goal was not to have to create this class - i was hoping there was either a built-in one or 3rd party one (free) with properties, enums, etc. already exposed so i could just declare the object and start using it. I will create it if needed, just didnt want to re-invent the wheel :-)