Welcome to the Xceed Community | Help
Community Search  

GridControl border color

Sort Posts: Previous Next
  •  04-07-2008, 10:39 AM Post no. 3975

    GridControl border color

    Hello,

    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.

    Thanks,
    Bogdan
  •  04-07-2008, 4:08 PM Post no. 3976 in reply to 3975

    Re: GridControl border color

    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>
    Charles Bérubé-Rémillard
    Technical Support
    Xceed Software Inc.
View as RSS news feed in XML
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2008 Xceed Software Inc.