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
215
obtain summary row from mouse postion
posted

Hi

I need to identify the summary row from mouse positions.  And the below code doesn't seem to work.

(currentUIElement is type of Infragistics.Win.UIElement)

currentUIElement.GetContext(typeof(UltraGridSummaryRow)) as UltraGridSummaryRow;

it will return null when I click on the summary row. :-(

Do you know what is the best way to achieve this?

 

Many thanks

Lan

 

Parents
No Data
Reply
  • 469350
    Suggested Answer
    Offline posted

    Hi Lan,

    Why do you want an UltraGridSummaryRow? There's really not much you can do with this object. In fact, it's not even a real row. The UltraGridSummaryRow object exists only as a sort've placeholder for use when exporting the grid. Which is probably why GetContext doesn't work.

    If you can tell me why you want the UltraGridSummaryRow and what you are trying to accomplish, perhaps I can tell you a better way to do it.

     

     

Children