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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Row got focus - how to show?

Thread ID:





33360 Aug 18,2005 11:38 AM UTC Aug 19,2005 12:26 PM UTC WinForms 3
Tags: GridControl
Geir Aamodt
Asked On August 18, 2005 11:38 AM UTC

I got a grid control and want to guide the user so that when he move the mouse over the rows the row under the mousepointer gets highlighted? Any clues? Best regards, Geir

Administrator [Syncfusion]
Replied On August 18, 2005 01:32 PM UTC

One way you can do this is to use the events PrepareViewStyleInfo and MouseMove. Here is a little sample. http://www.syncfusion.com/Support/user/uploads/GC_HiLiteRowUnderMouse_ffccb312.zip

Geir Aamodt
Replied On August 19, 2005 12:04 PM UTC

Thank you, worked very well! One final detail; I''m having cells that contains links, images, progressbars and so on, do you know if it is possible to make them look focused as well (Using the same procedure you showed me in the example). Best regards, Geir

Administrator [Syncfusion]
Replied On August 19, 2005 12:26 PM UTC

In PrepareViewStyle info, you can try setting partcular properties on e.Style based on the celltype given in e.Style.CellType, but I do not if you will be able to get th elook you want or not. Another option is to handle teh CellDrawn event. There you can overdraw any part of the cell to change its looks.


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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