开发者

Understanding Brushes in WPF

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

  • VisualBrush,
  • DrawingBrush,
  • and ImageBrush.

The first three types are self-explanatory. I've some troubles to understand VisualBru开发者_开发百科sh, 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?


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜