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 enable horizontal lines for GanttChart's rows?

Platform: WPF |
Control: GanttControl |
Published Date: December 31, 2014 |
Last Revised Date: October 21, 2016
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.

XAML

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.
ADD COMMENT
You must log in to leave a comment
Comments
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?

Reply
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

 
                                      Name="GanttComm" UseAutoUpdateHierarchy="True"   >
                               
                                   
                                           
                               
                           
Reply
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

Reply

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