2

I have gone to the "Reference" in Solution Explorer and tried to add it from "Framework" under "Assemblies" in the Reference Manager. Is there something that I'm missing in term of having a service pack installed? The MSDN page (http://msdn.microsoft.com/en-us/library/system.windows.media.gradientstopcollection.aspx)

In VS 2010

please advise... Thanks!

fifamaniac04
  • 2,343
  • 12
  • 49
  • 72
  • possible duplicate of [Can't find System.Windows.Media namepspace?](http://stackoverflow.com/questions/3154198/cant-find-system-windows-media-namepspace) – DanM7 Jun 17 '14 at 16:40

1 Answers1

7

See the documentation:

Namespace: System.Windows.Media
Assembly: PresentationCore (in PresentationCore.dll)

You need to add a reference to PresentationCore, and add using System.Windows.Media to your file.

You may already have both.

SLaks
  • 868,454
  • 176
  • 1,908
  • 1,964