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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

remove focus rectangle around currentcell

Thread ID:

Created:

Updated:

Platform:

Replies:

47623 Aug 9,2006 10:22 AM UTC Aug 9,2006 11:17 AM UTC WinForms 2
loading
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.

Thanks

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

Hi Palmer,

Use this code to resolve this,

this.gridControl1.ShowCurrentCellBorderBehavior = GridShowCurrentCellBorder.HideAlways;

Thanks,
Haneef

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

thanks Haneef,
I must have overlooked that.

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

;