Reuse css code from asp.net in silverlight RRS feed

  • Question



    I have an asp.net application and defined styles using css.

    I have created a silverlight application similar to my asp.net app.

    I wanted to know good ways to reuse my css styles in silverlight.

    I understand that in silverlight we need to define styles in app.xaml, but i dont want to re work on it.

    Please be aware that my asp.net and silverlight app's are huge with some 100+ pages.

    Any information or links will be greatly appreciated.


    Tuesday, March 24, 2009 4:50 PM


  • The only real answer here is that you will have to re-work your styles into Silverlight. If a site uses CSS well and is XHTML then it doesn't matter if you have a huge number of styles it shouldn't be too difficult to transfer them over.
    Tuesday, March 24, 2009 6:04 PM