Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. WPF
  4. Skinnable silverlight applications

Skinnable silverlight applications

Scheduled Pinned Locked Moved WPF
csstutorial
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    Eduard Keilholz
    wrote on last edited by
    #1

    Hey guys, I'm developing a kind of website content management system. Users can drop 'blocks' of content on a page and some blocks are silverlight applications (for example picturebooks). I want users to be able to 'skin' the silverlight application like a css stylesheet would do that for a webpage. I was thinking of defining properties for objects used in the silverlight application (for example a button and an image) and let the user decide the values of the properties. Is there a built in feature in Silverlight which allows me to create such functionality or do I have to write code for each and every property in silverlight which means a lot (A LOT) of coding... Thanks!

    .: I love it when a plan comes together :. http://www.zonderpunt.nl

    M 1 Reply Last reply
    0
    • E Eduard Keilholz

      Hey guys, I'm developing a kind of website content management system. Users can drop 'blocks' of content on a page and some blocks are silverlight applications (for example picturebooks). I want users to be able to 'skin' the silverlight application like a css stylesheet would do that for a webpage. I was thinking of defining properties for objects used in the silverlight application (for example a button and an image) and let the user decide the values of the properties. Is there a built in feature in Silverlight which allows me to create such functionality or do I have to write code for each and every property in silverlight which means a lot (A LOT) of coding... Thanks!

      .: I love it when a plan comes together :. http://www.zonderpunt.nl

      M Offline
      M Offline
      Mark Salsbery
      wrote on last edited by
      #2

      You could merged dictionaries to provide alternate "skins" for controls. Allowing the user to change them will require some coding definitely, because you'll need to build dictionaries at runtime and probably need a way to save the user's preferences. The ImplicitStyleManager can help for applying styles to controls at runtime so you don't have to do that part manually. Implicit Style Manager and Merged Dictionaries[^]

      Mark Salsbery Microsoft MVP - Visual C++ :java:

      E 1 Reply Last reply
      0
      • M Mark Salsbery

        You could merged dictionaries to provide alternate "skins" for controls. Allowing the user to change them will require some coding definitely, because you'll need to build dictionaries at runtime and probably need a way to save the user's preferences. The ImplicitStyleManager can help for applying styles to controls at runtime so you don't have to do that part manually. Implicit Style Manager and Merged Dictionaries[^]

        Mark Salsbery Microsoft MVP - Visual C++ :java:

        E Offline
        E Offline
        Eduard Keilholz
        wrote on last edited by
        #3

        The implicit style manager is probably the one I was looking for. Thanks!!

        .: I love it when a plan comes together :. http://www.zonderpunt.nl

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups