Northwoods.GoWeb Assembly > Northwoods.GoWeb Namespace > GoSheet Class : CreateGrid Method |
'Declaration Protected Overridable Function CreateGrid() As GoGrid
protected virtual GoGrid CreateGrid()
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; }
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