Hello, I need to handle events MouseEnterElement and MouseLeaveElement in my application. When I try to hook up the events with the grid, it's not recognizing MouseEnterElementEventHandler and MouseLeaveElementEventHandler. The version of my Wingrid is 2009.1, Anybody knows how I can connect these two events with the grid ? Thank you
What do you mean "it's not recognizing MouseEnterElementEventHandler and MouseLeaveElementEventHandler"?
I have these statements :
this.MyUltraGrid.InitializeLayout += new Infragistics.Win.UltraWinGrid.InitializeLayoutEventHandler(this.MyUltraGrid_InitializeLayout);this.MyUltraGrid.DoubleClickCell += new Infragistics.Win.UltraWinGrid.DoubleClickCellEventHandler(this.MyUltraGrid_DoubleClickCell);this.MyUltraGrid.MouseEnterElement += new Infragistics.Win.UltraWinGrid.MouseEnterElementEventHandler(this.MyUltraGrid_MouseEnterElement);this.MyUltraGrid.MouseLeaveElement += new Infragistics.Win.UltraWinGrid.MouseLeaveElementEventHandler(this.MyUltraGrid_MouseLeaveElement);
The first two event handler works but I got error messages for MouseEnterElement and MouseLeaveElement, saying "Cannot resolve symbol MouseEnterElementEventHandler" and "Cannot resolve symbol MouseLeaveElementEventHandler"
Hm, that's really odd. Those are public classes and they have been around for a long time. My best guess is that something is wrong with your project references. Either you have duplicate references to the Infragistics assemblies with multiple versions or your Infragistics assemblies are marked CopyLocal=true.