System.Windows.Documents namespace in C#

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • RobAMacAF
    New Member
    • Mar 2007
    • 21

    System.Windows.Documents namespace in C#

    I am trying to write a C# program and it has a statement:

    Floater frmFloat = new Floater();

    It was erroring out because it said it wasn't in the namespace so I did some searching and found that is in the System.Windows. Documents namespace. Now when I try to add using System.Windows. Documents at the top of the program it errors out saying the name space doesn't exist.

    Might anyone know what is going on? I don't know if it is a .net error, IDE error, or what. Oh yeah, I am using .net 3.5

    Thanks,

    Rob
  • jfarr
    New Member
    • Aug 2007
    • 3

    #2
    .Net 3.5?

    Anyway, I tried to implement the Floater on net 2003. There is no refrence for System.Windows. Documents. Also after searching the IDE help, Floater is not a type.

    It looks like this reference is for Vista. So I would assume that if you have the latest and greatest .Net, you should be ok.

    Comment

    • naivE
      New Member
      • Jun 2007
      • 12

      #3
      I had a look on MSDN and it does list system.windows. documents as the correct namespace. I don't have .net 3 so I can't check myself sorry.

      Comment

      • Shashi Sadasivan
        Recognized Expert Top Contributor
        • Aug 2007
        • 1435

        #4
        Originally posted by naivE
        I had a look on MSDN and it does list system.windows. documents as the correct namespace. I don't have .net 3 so I can't check myself sorry.
        the system.windows. documents is a part of .net 3.0 framework.
        Havent installed that on my dev machine yet
        but in .net 2.0 system.windows namespace onlty has the forms namespace in it.

        Comment

        Working...