Essential GridGroupingControl 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 GridGroupingControl. You will be able to switch between themes, while running this sample.
Features:
GridListControl is used in the FilterBarCell, instead of ComboBox.
GridListControl can be enable or disable in the FilterBarCell, by using the propertyEnableGridListControlInComboBox property.
Styles can be set to the GridGroupingControl by assigning a GridVisualStyle enumeration value to the GridVisualStyle property.
The following sample code sets an Office2010Black skin theme to the Essential gridGroupingControl1 by using GridVisualStyle.
gridGroupingControl1.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.
gridGroupingControl1.Model.EnableLegacyStyle = false;
The following sample code sets the EnableGridListControlInComboBox as false to disable the GridListControl in the ComboBox (By default it is True).
gridGroupingControl1.TableModel.EnableGridListControlInComboBox = false;