GoDiagram Web Reference
CellColors Property

Gets or sets an array of colors to be used in drawing grid cell backgrounds.
Syntax
'Declaration
 
<DescriptionAttribute("The colors used in drawing the cell backgrounds.")>
<CategoryAttribute("Grid")>
Public Overridable Property CellColors As Color(,)
[DescriptionAttribute("The colors used in drawing the cell backgrounds.")]
[CategoryAttribute("Grid")]
public virtual Color[,] CellColors {get; set;}

Property Value

A two-dimensional array of Colors. You must not modify the array that is returned by this property. To change any cell colors you must set this property, either by allocating a new array or by cloning the current value, modifying the copy, and then setting this property. When set the grid will keep a copy of the array. Initially the array has zero-by-zero bounds, so there is no cell color.
Remarks
This array is used by FillGrid. Typically this array's bounds will have the same values as MajorLineFrequency, or integral multiples of each other, if both are in use.
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

GoGrid Class
GoGrid Members

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback