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.

remove focus rectangle around currentcell

Thread ID:





47623 Aug 9,2006 06:22 AM Aug 9,2006 07:17 AM Windows Forms 2
Tags: GridControl
Administrator [Syncfusion]
Asked On August 9, 2006 06:22 AM

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 06:46 AM

Hi Palmer,

Use this code to resolve this,

this.gridControl1.ShowCurrentCellBorderBehavior = GridShowCurrentCellBorder.HideAlways;


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

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.

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.