protected virtual GoRectangle CreatePaper()
Return Value
a large white shadowed GoGrid that appears and acts as a simple rectangle
protected virtual GoRectangle CreatePaper()
protected virtual GoRectangle CreatePaper() {
GoGrid grid = new GoGrid();
grid.Selectable = false;
grid.UnboundedSpots = GoObject.NoSpot;
grid.Brush = Brushes.White;
grid.Pen = Pens.Black;
grid.Shadowed = true;
grid.Style = GoViewGridStyle.None;
return grid;
}
By default this object does not appear or behave as a normal grid, but just as a simple rectangle. The Grid property returns the grid that is normally manipulated to show any grid lines or to support snapping behavior. However, this paper object is normally responsible for drawing any shadow that this sheet defines.