Hi
I want to check that Row is Selected through Mouse not from Keyboard. How to check it. I have tried to use mouse down in case of Mouse Down but RowSelected is event is fired before MouseDown. I want to use AfterRowActivate Event lke Grid and I want to capture Mouse Down on Row Selection before its RowSelected Event.
Regards
Asad Naeem
Hi Asad,
I don't think there is any way to tell how a row was selected. Why does this matter? Differentiating between a row that is selected by the keyboard vs. the mouse is very unusual UI and is almost certain to confuse any Windows user.
Infact i have designed a user control using ultracombo for exapmple thats when user writes Peter in it, if the text is ok then a row is selected. and there are 4 other records of Peter and infact user wants to select the 3rd record. Currently as a row is selected, a call to database is made. That is why we want to know the row selection way. so that we may call the function for DB in that event.
In grid we can determine using UIElements but in ultraCombo how to use UIElements. There is no example in infragistics' local help (help on my machine).
Plz helppppppppp
How to fire AfterRowActivateEvent? How to fire Mousedown event before rowselected event?
Using UIElement is no different in the Combo than it is in the grid or any other WinForms control. The UIElement architecture is part of the WinForms Presentation Layer Framework. So it's the same for all of the WinForms controls.