Actually, after some more research, it appears displaygridlines is a member of window...

https://learn.microsoft.com/en-us/of...splaygridlines