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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to enable horizontal lines for GanttChart's rows?

Platform: WPF |
Control: GanttControl
Tags: appearance

In GanttChart, you can enable the horizontal lines by setting the BorderThickness for GanttChartRow.

The following code example demonstrate how to set the BorderThickness for GanttChartRow.


The following screenshot displays the GanttChart with horizontal lines.

F:\Farjana\F Drive\KB\Gantt Chart Row\After2.png

Figure 1: GanttChart with horizontal lines

2X faster development

The ultimate WPF UI toolkit to boost your development speed.
You must log in to leave a comment
Ryan Nebel
Oct 29, 2015
Is this method still valid? I cant seem to get it to work. Reply
Sridharan Gajendran [Syncfusion]
Oct 21, 2016
We have refreshed the KB content, please check with it.
Antoine Farine
Oct 21, 2016

This method doesn't work, is there an alternative to show rows' and columns' lines?

Sridharan Gajendran [Syncfusion]
Oct 21, 2016
We have refreshed the KB content, please check with it.
marco del frate
Jun 14, 2017
Good morning, i tried to use this method in the following way, but it doesn't work

 <syncfusion:GanttControl  WeekBeginsOn="Monday" ShowAddNewColumn="False" ScheduleType="YearWithMonths"
                                      Name="GanttComm" UseAutoUpdateHierarchy="True"   >
                                    <Style TargetType="syncfusion:GanttControl">
                                        <Setter Property="BorderThickness" Value="0,0,0,2"/>
Sridharan Gajendran [Syncfusion]
Jun 14, 2017

We are unable to reproduce the problem. So, we provided a demo sample link below. Please check that link and update us with a modified sample to reproduce the issue at our end.


Sample: Gantt


Please sign in to access our KB

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

Up arrow icon

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

Live Chat Icon For mobile