Articles in this section
Category / Section

How to show or hide background image of WPF Diagram (SfDiagram)?

1 min read

The Opacity property of the PageBackground is used to show or hide the background image support of the WPF Diagram (SfDiagram).

Please refer to the code example, sample link, and video link as follows.

C#

// For Showing PageBackGround Image
diagram.PageSettings.PageBackground.Opacity = 100;
// For Hiding PageBackGround Image
diagram.PageSettings.PageBackground.Opacity = 0;

Video link: https://www.syncfusion.com/downloads/support/directtrac/215122/ze/Show___Hide_Video712540393

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please  to leave a comment
Access denied
Access denied