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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How do I hide the focus rectangle?

Thread ID:





1628 Nov 15,2002 05:46 PM UTC Nov 15,2002 05:52 PM UTC WinForms 1
Tags: GridControl
Michael Jon Eno
Asked On November 15, 2002 05:46 PM UTC

I have some columns that contain images (special checkboxes,etc ) and I need to allow the user to click on the cell and change the image. I have that working but the focus rectangle is a little distracting in this use. How can I turn it off or set its attributes somehow to be invisible? Thanks,

Administrator [Syncfusion]
Replied On November 15, 2002 05:52 PM UTC

There is a ShowCurrentCellBorderBehavior property that you can use to always hide this currentcell border. You would probably want to set this to HideAlways if one of your special cells is the target of a CurrentCell.MoveTo (try handling CurrentCellMoving), and then set it to some other setting if the target cell is not one of your special cells.


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

Live Chat Icon For mobile
Live Chat Icon