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

remove focus rectangle around currentcell

Thread ID:





47623 Aug 9,2006 10:22 AM UTC Aug 9,2006 11:17 AM UTC WinForms 2
Tags: GridControl
Administrator [Syncfusion]
Asked On August 9, 2006 10:22 AM UTC

Simply question really, how can i remove the focus rectangle that gets drawn around the currentcell?
I''m using a standard GridControl.
I''ve tried using the PrepareViewStyle event and setting the borders to none, but apparently the focus rectangle is drawn inside the borders.

I''ve looked through the documentation but didn''t quite find any leads.


Administrator [Syncfusion]
Replied On August 9, 2006 10:46 AM UTC

Hi Palmer,

Use this code to resolve this,

this.gridControl1.ShowCurrentCellBorderBehavior = GridShowCurrentCellBorder.HideAlways;


Administrator [Syncfusion]
Replied On August 9, 2006 11:17 AM UTC

thanks Haneef,
I must have overlooked that.


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