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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback


Thread ID:





14176 May 20,2004 01:11 AM UTC May 20,2004 05:43 AM UTC WinForms 1
Tags: GridControl
Asked On May 20, 2004 01:11 AM UTC

Clay, Is there anyway we can make Column Heading as ''Fixed3D'' style. Thanks Satish

Administrator [Syncfusion]
Replied On May 20, 2004 05:43 AM UTC

Unless you have set grid.ThemesEnabled = true and are using XP OS, the grid draws headers raised by default. If you are on XP, try setting grid.ThemesEnabled = false to see if that does what you want. You can control the appearance of a cell (Raised, Flat, Sunken) by setting GridStyleInfo.CallAppearance. Here is code to change this property for all header cells. this.gridDataBoundGrid1.BaseStylesMap["Header"].StyleInfo.CellAppearance = GridCellAppearance.Sunken; this.gridDataBoundGrid1.Refresh(); If you need some other look on the cell border, you can draw the border yourself using the DrawCellFrameAppearance. In the handler draw what you want, and then set e.Cancel = true to prevent the grid from doing its default drawing. You can see sample usage in Grid\Samples\In Depth\CustomBorders.


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

Live Chat Icon For mobile
Live Chat Icon