Customization Demo

This sample illustrates customizing the appearance of a GridListControl. It lets you to change the style settings of the control, such as background color, transparent background, background image, and header background color.

In this sample, the grid list is bound to a flat data set that has been created at design time.

Customizing GridListControl screenshot

Features

  • Transparent Background- Specifies whether to display background image for the grid. When this property is set to false, the background image will not be displayed even if it is set by using the BackgroundImage property.

  • Vertical Lines- Specifies whether the vertical lines have to be displayed.

  • Horizontal Lines- Specifies whether the horizontal lines have to be displayed.

  • Buttons 3D- Specifies if the row and column headers should have a three dimensional look which in turn makes headers visually appealing. If this property is set to false, the row and column headers will appear flat.

  • GridlineColor- Specifies the color of the gridlines.

  • BackColor- Specifies the background color for the grid list control.

  • HeaderBackColor- Specifies the background color for the headers.

  • HeaderTextColor- Specifies the color for the header text.