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 remove text underlining in GridHyperlinkColumn cells

Thread ID:





132236 Aug 22,2017 09:47 AM UTC Aug 25,2017 04:52 AM UTC WPF 3
Tags: SfDataGrid
Asked On August 22, 2017 09:47 AM UTC


I would like not to show the underlining that is by default used to decorate texts in the cells of GridHyperlinkColumn  columns.
I'd like also that these cells continue to be managed by SfSkinManager if it is changed the current style of the app (but without text underlining).
Is it possibile to obtain this?


Gnanasownthari Thirugnanam [Syncfusion]
Replied On August 23, 2017 01:30 PM UTC

Hi Silvio, 
We have checked your query “not to show the underlining in GridHyperlinkColumn column”, you can able to achieve your requirement by setting TextDecorations as null for HyperLink (writing style to HyperLink ) and added this style to SfDataGrid.Resources so theme style and HyperLink style is applied to GridCell as like below code example. 
      <Style TargetType="Hyperlink"> 
            <Setter Property="TextDecorations" Value="{x:Null}"/> 
We have ensured the changes by various themes it works fine in all themes (without text underlining). 
We have prepared the sample based on your requirement (including themes), you can download the same from below mentioned location. 
Sample location:  
Gnanasownthari T. 

Replied On August 24, 2017 08:01 AM UTC

Thank you, it works fine!

Balamurugan Rajaraman [Syncfusion]
Replied On August 25, 2017 04:52 AM UTC

Hi Silvio 
Thanks for the update, 
Please let us know if you need any further assist on this. 
Balamurugan R 


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