Home Forums WinForms controls Other WinForms controls GridControl border color

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • User (Old forums)
    Post count: 23064
    #18446 |


    Please give me a solution for changing the border color of an Xceed.Grid.GridControl control. I have only the option to show no border, set a fixed single or 3D border. The fixed single border is fine by me but I don’t want it to be black as it is by default.


    Imported from legacy forums. Posted by bogdip (had 2882 views)

    Xceed Support
    Post count: 5658

    It is not possible to modify the color of the GridControl’s borders.

    There is however a workaround to get the style you are looking for…

    You could derive the GridControl and implement your own Border painting method.

    Here is a blog that shows how to do this with a panel:

    <a href=”http://www.dotnet-blog.com/index.php/2007/07/11/c-change-bordercolor-of-panels/”>Change the Border color of Panels</a>

    Imported from legacy forums. Posted by CharlesB (had 4084 views)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.