To create a custom theme, you need to create an object that supports the IVisualStyle interface. After implementing the custom object, you can set the GridVisualStylesDrawing object for the Grid. The attached sample has the customization of the Grid header style.
Creating Custom Visual Style:
The following code example changes the blue header style to pink header style and orange hover color to green hover color by modifying the code from the libraries GridVisualStylesOffice2007Blue class.
Adding the Custom Theme to the GridControl
The following screenshot displays the GridControl with the applied custom themes.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|
or the page will be automatically redirected to sign-in page in 10 seconds.