get system colors
Published: 24. October 2011 | Updated: 24. October 2011License: Microsoft Public License (MS-PL)
Categories: Windows
Tags: C# Colors Windows Winforms WPF
In WPF
using System.Windows; using System.Windows.Media;
Color color = SystemColors.HighlightTextColor;
In Winforms
using System.Drawing;
Color color = SystemColors.HighlightText;
| Send us feedback about this snippet » |





