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
1180
How to determine the row coordinate?
posted

Hi

How can I determine the row coordinate in a ultraGrid?

For example, in UltraTree, we can using  Node.Bounds.Top and Node.Bounds.Bottom to find the Y coordinate of that node in the UltraTree. How can I see the similar thing in ultraGrid for a row?

Thanks,

Xin

Parents
No Data
Reply
  • 12773
    Suggested Answer
    posted

    Hello Xin,

    I believe that you can use the GetUiElement on the row, this will return you a UIElement that has rectangle property and easily you can get the Y coordinate form it.

    Here is sample snipped retrieved form row object:

                  UIElement element = e.Row.GetUIElement();
                  int ycord = element.Rect.Y;

    I hope this helps.

    Sincerely,
    Dimi
    Developer Support Engineer
    Infragistics, Inc.

Children