locked
CSS in XAML? How to do so? RRS feed

  • Question

  • I am currently wondering if you can interpret CSS into XAML? I'd like to change colors to scroll bars and another thing is when you click items in a listbox, there is either a white highlight or blue highlight and I would like it to be transparent.

    Someone please help?

    Thank you.
    Wednesday, June 25, 2008 5:47 PM

All replies

  • I don't think there is an in-built way, outside of duplicating your CSS styles as XAML defined styles, which should be pretty straightfoward given the similarities (though there are differences as well, for example, you can't apply two different styles to an element like you would in CSS).

    Thanks,
    Unni
    Thursday, June 26, 2008 12:15 AM
    Moderator