How can I get list of all colors I can pick in Visual Studio Designer (which is System.Windows.Media.Colors
, but that isn\'t a collection) and put them into my
Here is the pure XAML solution.
In your resources section, you would use this:
.. xmlns:sys="clr-namespace:System;assembly=mscorlib" ..
System.Windows.Media.Colors, PresentationCore,
Version=3.0.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35
Or, as CodeNaked points out, it can be reduced to one tag:
And then the combobox would look like this: