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.
Syncfusion Feedback

How to change grid control border color?

Thread ID:

Created:

Updated:

Platform:

Replies:

18040 Aug 23,2004 02:04 PM UTC Aug 23,2004 02:21 PM UTC Windows Forms 1
loading
Tags: GridControl
Mike
Asked On August 23, 2004 02:04 PM UTC

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 02:21 PM UTC

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.

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

;