System.Data
System.Data

Reputation: 3968

Understanding Brushes in WPF

Beside SolidColorBrush, LinearGradientBrush, and RadialGradientBrush there are also three other types of brushes:

The first three types are self-explanatory. I've some troubles to understand VisualBrush, DrawingBrush, and ImageBrush. Maybe it's easier to understand the purpose of these brushes. What are the best practices for these brushes? Are there any canonical examples? When should I use these brushes?

Upvotes: 2

Views: 406

Answers (1)

Jens
Jens

Reputation: 25583

There is a good page about the different WPF brushes in the MSDN here. Have you seen that yet? Maybe this will answer a few of your questions

Upvotes: 2

Related Questions