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

 

  • 69832
    Suggested Answer
    Offline posted

    One approach would be to use UltraGridRow as your context type, then if you get one back, use the UltraGridRow.IsSummaryRow property to determine whether it is a summary row.