On 10/14/14, 1:42 PM, "jude" <flexcapaci...@gmail.com> wrote:
>FYI There may not be an official way yet. In which case this would be a >good discussion point. For example, there is not an official way to know >if >a class is a skin class. Again, Gordon or Darrell (or better yet Ryan Frishberg if he’s still lurking) might have a better answer, but I do not believe there is any contract for a skin other than it must expose required the skin parts of the host component. There is no interface to check, I think it has to be an IVisualElement, but so does just about any UI thing in Spark. Not sure how hard it is to get skin part metadata and public properties in the various IDEs, but I think that’s what you’d have to do to see if a skin is truly an allowed value, and searching for all matches could be expensive if you are trying to offer valid values. -Alex