Category Archives: WPF

WPF – BrushConverter HTML (Hexadecimal) colors

Assigning HTML like colors (i.e. #318D38) in WPF application directly in XAML is very easy and smooth. For example code: <Setter Property=”Background” Value=”#318D38″ /> works pretty well. It is worse to assign HTML color in C# code…. Solutions like: panel.Background = “#318D38″; or panel.Background = (Brush)”#318D38”; does not work…. Solution… Read more »