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

Alternating row style with highlighting

Thread ID:





123212 Feb 26,2016 06:12 AM UTC Feb 29,2016 07:35 AM UTC WPF 1
Tags: SfDataGrid
Martin Tichovsky
Asked On February 26, 2016 06:12 AM UTC


i have simple question. I set highlighting in SfDataGrid, but if is set also AlternatingRowStyle, rows with alternating styles doesn't get highlight. In right case, all rows must colorize over highlighting color like in this table http://www.permadi.com/tutorial/cssHighlightTableRow/

Attachment: TestWPF_ef03c966.zip

Sowndaiyan Paulpandi [Syncfusion]
Replied On February 29, 2016 07:35 AM UTC

Hi Martin,

Thanks for contacting Syncfusion Support.

In SfDataGrid, you can resolve your highlighting problem on AlternateRowStyle by setting the “Opacity” like the below code example,



        <Style x:Key="alternatingRowStyle" TargetType="{x:Type syncfusion:VirtualizingCellsControl}">

            <Setter Property="Background">


                    <SolidColorBrush Opacity="0.5" Color="#F7F7F7F7" />








This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

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