Top "Brush" questions

Convert string to Brushes/Brush color name in C#

I have a configuration file where a developer can specify a text color by passing in a string: <text …

c# .net graphics colors brush
Simpliest way to convert a Color as a string like #XXXXXX to System.Windows.Media.Brush

I think that the title is clear ! What I have now is : System.Drawing.Color uiui = System.Drawing.ColorTranslator.FromHtml(…

c# colors brush
Convert System.Windows.Media.Brush to System.Drawing.Brush

How can I convert a System.Windows.Media.Brush to System.Drawing.Brush? I'm trying to get the color of …

c# brush
How to use LinearGradientBrush and Background

I'm trying to paint a background of my WPF window using LinearGradientBrush, however my code doesn't work. Here is the …

wpf brush lineargradientbrush
c# radial gradient brush effect in GDI and winforms

I have created a c# windows application and written 75% of the code. The program allows the user to create a …

c# winforms gdi brush
Brush to Brush Animation

I managed to find out how to make a WPF animation - transition between two colors. It's called ColorAnimation and …

c# wpf animation brush
System.Windows.Freezable is missing

I have got a Class Library project where I keep some interfaces and classes for my WPF Application and RIA …

c# wpf class dll brush
WPF - How can I make a brush that paints graph-paper-like squares?

How might I create a brush that paints a regular, repeated grid of 1-unit thick lines spaced evenly in both …

.net wpf grid brush
How do I implement a custom Brush in WPF?

Where can I find out enough info about how Brushes work to implement my own System.Windows.Media.Brush? I …

.net wpf brush
Creating a WPF ValueConverter for a Brush

On the Nerd Plus Art blog today, there was a post about creating WPF Resources for arrows, which the author …

wpf binding .net-3.5 valueconverter brush