Hey, I was trying to help. If I were asking question I'd give as much info
as it possible to make it easier for the people to answer it.
Anyways...
I was able to repro the problem. It just happened that I tried the
Intellisense on DataGrid inside the project I was working on - no
HitTestInfo nor any other nested type (DataGrid declares couple more). In
the test project that I created when I read your post first it was working.
All the references were OK. It is definitely bug in Intellisens.
Knowing that VS keeps some Intellisense information in the *.projdata file
(in the project's *obj* folder) I closed VS and deleted that file. I did
this for the project where Intellisense didn't work.
When I opened the project again it was working.
So, go ahead and try to delete the *projdata file.
If it doesn't help you gonna need to type all the members by hend. Even the
Intellisense doesn't work the project has to compile as long as there is no
errors
--
Stoitcho Goutsev (100) [C# MVP]
"Brett Romero" <ac*****@cygen. com> wrote in message
news:11******** **************@ f14g2000cwb.goo glegroups.com.. .
I'm not sure how much simpler I can make it. I type
System.Windows. Forms.DataGrid. and look through the intellisense
listing. No HitTestInfo. What part of this is confusing? I do have a
DataGrid on my form. System.Windows. Forms. does show DataGrid in
intellisense. I scroll to DataGrid, hit the <enter> key and now I have
System.Windows. Forms.DataGrid. I type a dot and now I have
System.Windows. Forms.DataGrid. (notice the dot after DataGrid, which is
not a period) and intellisense waiting for me to choose something.
HitTestInfo is not a choice for me here because it "isn't" listed. It
doesn't display in intellisense.
I seems you understood the question initially very well:I thought the problem is that HitTestInfo is not there (or Intellisense
doesn't show it) and DataGrid class doesn't have it.
That is right. DataGrid class didn't have it.
Sorry, just not sure how much clearer I can get. If it is still
confusing, perhaps I'll just wait to see who posts or I'm just out. No
need for us to keep examing how many shades of red an apple has.
Thanks,
Brett