Changing colors of a GraphViewWindow

I’d like to change the look of a GraphViewWindow by setting the BackColor and GridLineColor properties programatically. I can do this easily when the app is starting and the window is being initialized. However, when I try to make these changes on the fly, while the app is running, I can’t get the window to update its appearance. I tried to force the redraw with the following, without success:


You shouldn’t need to do any kind of Update or Refresh on the view – just setting the properties will automatically cause an update.

Could you check that the GoView that you are modifying “on the fly” is actually the one that you are looking at, and not a different one?

You’re right, my bad. I got to the right window with:

        GraphViewWindow w = MainForm.App.ActiveMdiChild as GraphViewWindow;