Recommended

Skip Navigation LinksHome / Search

Search

 
Results Per Page

Found 1 result for operator.
Date between: <not defined> and <not defined>
Search in: News , Articles , Tips , Shows , Showcase , Books

Order by Publish Date   Ascending Title   Rating  

  • 5 comments  /  posted by  Pencho Popadiyn  on  Aug 21, 2009 (10 months ago)

    1. The problem

    Download source code.

    Have you ever wondered why the XAML parser recognizes the full palette of 141 colors (by name), but the Silverlight Colors class does not support the same full range of color names, for example, as WPF? I haven’t even noted that until the last week. In Silverlight in the XAML markup you can access all colors by name:

     Unfortunately, this not valid if you try the same operation in the code behind file:

    If you check in MSDN you will see that the Colors class allows you to access only 16 colors.




Help us make SilverlightShow even better. Whether you'd like to suggest a change in the structure, content organization, section layout or any other aspect of SilverlightShow appearance - we'd love to hear from you! Need material (article, tutorial, or other) on a specific topic? Let us know and SilverlightShow content authors will work to have that prepared for you. (hide this)