Link to home
Start Free TrialLog in
Avatar of MarcoCastro
MarcoCastroFlag for Brazil

asked on

How works resources in WPF?

Hi,

  I'm starting to understand WPF but the documentation is very disperso. Could some guru explain me the difference of a Canvas and DrawingBrush? I'm doing this questiong because MS Expression Desgin generates this two kind of data.

  With DrawingBrush I can create resources and import them to the application. Otherwise I can't incluse a StoryBoard in the object. With Canvas the situation is the oposite. Is there a way to create a resource object with animation or other kind of things?

  When creating Shadow, per example, DrawBrusuh generates a PNG pictures to be used with the object. Canvas uses XAML data to create the same kind if shadow. Why does it happens?

  What is the better option to create icons to be used in an application?

  Thanks,
  Marco Castro
ASKER CERTIFIED SOLUTION
Avatar of sureshchsahu
sureshchsahu
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of MarcoCastro

ASKER

There was no answer to me question.