How can a spark Label be skinned?
I would like to add some fancy drawing beyond the CSS f开发者_如何学编程ormatting. How can I put a skin on a spark Label ?
thanks
Wow, +1 for a good question. The approach I would take would be to custom component that wraps a Label with a SkinnableComponent, which then allows you to specify a skin class since the Label component itself is not skinnable. I would then take a look at the Button and ButtonSkin classes to mimic passing the label text into the Label component in your skin. Hope that helps.
精彩评论