wpfcolorstaskdialog

Getting the color value of TaskDialog Main Instruction text


The TaskDialog in Windows7 has a blue Main Instruction text at the top. Is there a way to get that color as a Brush value in WPF?


Solution

  • These colors are actually defined in the Windows User Experience Interaction Guidelines. As far as I know they are not available as named system colors, but the guide explicitly lists the RGB colors and font sizes for the various text elements.