We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to change the style of a selected row in GridGroupingControl?

Platform: WinForms |
Control: GridGroupingControl |
Published Date: June 29, 2016 |
Last Revised Date: November 1, 2017
Tags: selection, row, styles


To change the selected records text font, the QueryCellStylenfo event can be used. By default, GridGroupingControl have the two kinds of selections.

To change the selection back color when the selection is enabled by using AllowSelection property, AlphaBlendSelectionBackColor property of TableOptions can be used.

To change the selection back color when the selection is enabled by using ListBoxSelectionMode property, SelectionBackColor property of TableOptions can be used.

Code snippet

Using AllowSelection





Using ListBoxSelectionMode







Sample Link

C#: Display Behavior CS

VB: Display Behavior VB

You must log in to leave a comment
Oct 31, 2017

This code is not working as expected when I change AllowSelection property as below

this.grid1.TableOptions.AllowSelection = Syncfusion.Windows.Forms.Grid.GridSelectionFlags.Row;

Piruthiviraj Malaimelraj [Syncfusion]
Nov 06, 2017

Hi Hanuman,

Thanks for your feedback.

We have modified the document with proper details and published successfully.

Please let us know if you have any queries.




Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon