how to change background style of the diagram?

Hi!

I want to change the background style of the diagram.



When I add a diagram to winform, it is basically added like this.

But I want to make a background without (.......).

How can I change the background?

3 Replies 1 reply marked as answer

AR Aravind Ravi Syncfusion Team January 7, 2021 05:20 AM UTC

Hi Nam, 

By using the diagram’s grid property we can able to hide the background dotted lines in the diagram. To hide the diagram background line set grid’s visible property as false. Please refer to the below code snippet 

diagram1.View.Grid.Visible = false; 

For more information about customization of diagram grid lines, please refer to below UG documentation link 


Regards 
Aravind Ravi 


Marked as answer

NK nam ki hun January 8, 2021 01:01 AM UTC

Thank you for your reply~~~^^



AR Aravind Ravi Syncfusion Team January 8, 2021 11:43 AM UTC

Hi Nam, 
 
Most Welcome. Please let us know whether you need any further assistance on this.  
 
Regards 
Aravind Ravi 


Loader.
Up arrow icon