Color - DevCorner

Browse by Tags

All Tags » Color (RSS)

Silverlight 3 Quick Tip #7: System Colors

Silverlight 3 now supports operating system colors. This means, that now Silverlight 3 applications could be adopted for users who use high-contrast color schemes. The usage is very simple – in System.Windows namespace exists new static class “SystemColors” with colors definitions. Those colors could be use as a Color in any brushes. The sample code is very short this time: Rectangle activeBorderColor = new Rectangle (); activeBorderColor.Fill = new SolidColorBrush (System.Windows. SystemColors ...