No intellisense for DataGrid.HitTestType?

V

Vagabond Software

The code seems to be working fine, but it is slightly frustrating to have no intellisense for DataGrid.

I have DataGrid dataGrid1 on my test form. In the MouseDown event for dataGrid1, I typed the following code:

DataGrid.HitTestInfo dgHitTest = dataGrid1.HitTest(e.X, e.Y);

Intellisense works for dataGrid1.HitTest, but not for DataGrid.HitTestInfo. Even slightly more annoying is I also have no intellisense for my dgHitTest object. For example (in dataGrid1_MouseDown event):

if (dgHitTest.Type == DataGrid.HitTestType.ColumnHeader)

There is absolutely no intellisense happening on the previous line. Any help would be greatly appreciated.

- carl
 
Z

Zürcher See

Clear the obj path in your project and compile it again

The code seems to be working fine, but it is slightly frustrating to have no
intellisense for DataGrid.

I have DataGrid dataGrid1 on my test form. In the MouseDown event for
dataGrid1, I typed the following code:

DataGrid.HitTestInfo dgHitTest = dataGrid1.HitTest(e.X, e.Y);

Intellisense works for dataGrid1.HitTest, but not for DataGrid.HitTestInfo.
Even slightly more annoying is I also have no intellisense for my dgHitTest
object. For example (in dataGrid1_MouseDown event):

if (dgHitTest.Type == DataGrid.HitTestType.ColumnHeader)

There is absolutely no intellisense happening on the previous line. Any
help would be greatly appreciated.

- carl
 
J

Joey Callisay

Any possible cause and explanation Mr. See, I encountered this also
yesterday. I believe I just reopened the solution and it worked.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top