Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
605
Index of Row
posted

Hi,

    I am using Infragistics XamDataGrid, I want to get the Index of the Row in MouseMove Event (I am not Clicking on the record of the grid), Please help me regarding this. I am able to see ActiveCell and Activerecord properties but they work only if a Cell/Row is selected or clicked.

Thanks in Advance

Ram

Parents
No Data
Reply
  • 69686
    Suggested Answer
    posted

    Hello Ram,

    You can handle the MouseMove event and use our helper methods Infragistics.Windows.Utilities.GetAncestorFromType(...) to go up the element tree of the applicationa and finding the DataRecordPresenter under the mouse point. In this method, you can pass the e.OriginalSource and the type you are looking for - DataRecordPresenter.

Children