Essential GridDataBoundGrid offers a wide range of support for the appearance of the Grid. This sample illustrates the application of different skins by using the new color scheme GridVisualStyle in the Essential GridControl. You will be able to switch between themes, while running this sample.
Features:
New color scheme property GridVisualStyle is used.
Styles can be set to the GridDataBoundGrid by assigning a GridVisualStyle enumeration value to the GridVisualStyle property.
The following sample code sets an Office2010Black skin theme to the Essential GridDataBoundGrid by using GridVisualStyle.
GridDataBoundGrid.GridVisualStyles= Syncfusion.Windows.Forms.GridVisualStyles.Office2010Black;
The new GridVisualStyle themes will be applied only when the EnableLegacyStyle is False, by default the EnableLegacyStyle is True. The following sample code sets the LegacyStyle as false to apply the new GridVisualStyle color scheme.
GridDataBoundGrid.Model.EnableLegacyStyle = false;