2

enter image description here

This is a winform application in C# with MSAGL. I'm trying to change the color of the gray zone to white,and change the font style of the Node, what should I do to set them?

Reza Aghaei
  • 120,393
  • 18
  • 203
  • 398
nineveh.Y
  • 167
  • 7

1 Answers1

3

You can set OutsideAreaBrush property of the viewer to desired brush in load event of your form, for example:

this.gViewer.OutsideAreaBrush = Brushes.White;
Reza Aghaei
  • 120,393
  • 18
  • 203
  • 398