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.

How to change grid control border color?

Thread ID:

Created:

Updated:

Platform:

Replies:

18040 Aug 23,2004 10:04 AM Aug 23,2004 10:21 AM Windows Forms 1
loading
Tags: GridControl
Mike
Asked On August 23, 2004 10:04 AM

Looking for a way to change a border color around the virtual grid control for the BorderStyle.FixedSingle (2.0.5.0).

Administrator [Syncfusion]
Replied On August 23, 2004 10:21 AM

There is no grid property that controls this. You might try this. You could add a panel to your form and drop the grid with grid.Dock = fill into the panel. Then set panel1.DockPadding.All = 1; and set the this.panel1.BackColor to the color you want to see. Also set the BorderStyle on both the grid and panel to none.

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.

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.

;