GoDiagram Win Reference
CreateGrid Method (GoSheet)
Example 

Create a GoGrid object.
Syntax
'Declaration
 
Protected Overridable Function CreateGrid() As GoGrid
protected virtual GoGrid CreateGrid()

Return Value

the grid that is the primary object in this group
Example
If you override this method, you may want the definition to do some of the things that the standard definition does:
protected virtual GoGrid CreateGrid() {
  GoGrid grid = new GoGrid();
  grid.Selectable = false;
  grid.CellSize = new SizeF(25, 25);
  grid.OriginRelative = false;
  grid.LineDashStyle = DashStyle.Custom;
  grid.MajorLineColor = Color.LightGray;
  grid.MajorLineFrequency = new Size(4, 4);
  grid.Style = GoViewGridStyle.None;
  return grid;
}
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GoSheet Class
GoSheet Members

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback