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.
Unfortunately, activation email could not send to your email. Please try again.

How to customize the appearance for Gridlines

Appearance

The HorizontalGridLines and VerticalGridLines properties allow us to customize the appearance of the gridlines. We have provided code example to represent this. Please refer to the code example as below.

C#

XAML

Line Intervals

Thickness and the space between gridlines can be customized by using LinesInterval property. In the line Interval collections, values at the odd places are referred as the thickness of lines and the values at the even places are referred as the space between gridlines. We have provided code example to represent this. Please refer to the code example as below.

C#

XAML

Integrating Gridline style and LineIntervals customization in Diagram

 

 

 

 

 

 

 

 

We have provided sample and screenshot to represent both customization. Please refer to the sample and screenshot as below.

Sample Link: GridLine_Customization

 

Screenshot:

Article ID: Published Date: Last Revised Date: Platform: Control:
8466 02/21/2018 02/21/2018 WPF SfDiagram
Did you find this information helpful?
Add Comment
You must log in to leave a comment

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.