We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Absolute row position

Thread ID:

Created:

Updated:

Platform:

Replies:

16753 Jul 23,2004 09:40 AM UTC Jul 23,2004 11:53 AM UTC Windows Forms 2
loading
Tags: GridControl
Leon Schwartz
Asked On July 23, 2004 09:40 AM UTC

Hi, Is there a grid property that lets me get the absolute (not relative to the grid) pixel-position of a given row within the current window? (Current cell''s row is good enough). Basically the reverse of the PointToRowCol function? Thanks.

Administrator [Syncfusion]
Replied On July 23, 2004 09:48 AM UTC

Here is some code to try to see if this is what you want. Point gridPoint = this.gridControl1.ViewLayout.RowColToPoint(someRow, someCol, false); Point screenPoint = this.gridControl1.PointToScreen(gridPoint); Console.WriteLine("{0} {1}", gridPoint, screenPoint);

Leon Schwartz
Replied On July 23, 2004 11:53 AM UTC

That did it. Thanks!

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;