WPF: colors in Colors preview

XAML Hands on …
Without a WYSIWYG XAML editor at hand, you may only write XAML by hand.
Visual Studio’s intellisense helps a lot, but what happens when color come ?
AliceBlue, Pink, GreenYellow … ok
And what about all those strange codes #FF45ED  ?

Without a very usefll XAML editor at hand, you may refer to this post: WPF Colors, static classes and reflection in .Net .

Harley’s post contains few lines of code he wrote in order to get all colors defined in Colors and their codes … further more, this post display an example of every color;
this way, you have a palette everywhere, so you may see what colors are AliceBlue, Chartreuse, Gainsboro, LightSlateGray, SeaGreen, Teal, … you know 😉

source: WPF Colors, static classes and reflection in .Net

UPDATE: MSDN has a color palette as well,here: .NET Framework Class Library, Colors Class. 😉

Technorati tags: WPF, XAML, Color, Palette
Advertisements

Tags:

One Response to “WPF: colors in Colors preview”

  1. Harley Pebley Says:

    I was just going through my site analytics and saw links from your site. I’m glad you found the article worth noting and thanks for the link.

    Cheers.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: