Home > WinForms UI Controls > User Manual > Alternate Row Color of Grid Themes in C#
Rows Color Change in GridView
When the users are designing the style and appearance for their application, they may need to use the style that is able to mark two different rows in different colors for comparison. The Kettic GridView C#.NET component provides row color mode changing to achieve this functionality. Kettic GridView is able to alternate the row color for the users to distinguish rows from each other. The users of Kettic GridView need to use the EnableAlternateRowColor property to accomplish the functionality.
How to Alternate Row Color in GridView
To change the row color to distinguish rows from each other in a grid, we need to enable the property first, EnableAlternateRowColor. This is accomplished by change the value of the property to true.
C# code for enabling the alternating row color for GridView
After enable this functionality, we can change the default alternating row color by assigning value to the AlternateRowColor property.
C# code for changing the alternating row color for GridView
UI Controlsfor Windows Forms.NET WinForms UI Overview.NET WinForms UI Features.NET WinForms UI GuideC# WinForms UI DesignVB.NET WinForms UI Design
WinForms UI Controls
WinForms Buttons UI Control WinForms Calendar UI ControlWinForms Carousel UI ControlWinForms Chart UI ControlWinForms Clock UI ControlCommandBar UI ControlWinForms Dock UI ControlDesktop Alert UI ControlDropDown List UI ControlWinForms Editor UI ControlForms and Dialogs UI ControlWinForms GridView UI ControlGridView - Get Started in C#GridView - PropertiesGridView - ColumnGridView - RowGridView - CellsGridView - EditorsGridView - Context MenuGridView - Populating with DataGridView - Hierarchical GridGridView - SelectionGridView - ScrollingGridView - SortingGridView - GroupingGridView - FilteringGridView - Expression EditorInsert/ Update/ Delete RecordsGridView - View DefinitionTableColumn GroupGridView - Exporting DataExport to ExcelExport Data in a Group to ExcelExport to CSVExport to HTMLExport to PDFStyling and AppearanceThemeImageAlternating Row ColorGridView - LocalizationSave and Load LayoutGridView - Print SupportPrint StylePrint EventsWinForms ListView UI ControlWinForms Menu UI ControlWinForms ComboBox UI ControlWinForms PageView UI ControlPanels and Labels UI ControlWinForms Panorama UI ControlWinForms PDFViewer UI ControlWinForms Property Grid UI ControlWinForms Ribbon UI ControlWinForms PivotGrid UI ControlWinForms RichTextBox UI ControlWinForms Rotator UI ControlWinForms Scheduler UI ControlWinForms Shortcuts UI ControlWinForms SpellChecker UI ControlWinForms Track & Status UI ControlWinForms TreeView UI ControlWinForms Wizard UI ControlWinForms Test UI ControlWinForms Theme UI Control