This class represents the cell borders for a given cell.
For a list of all members of this type, see CellBorders Members.
System.Object
CellBorders
A cell's borders are accessible via the Borders property on a Style object. CellBorders represents the line style used for the top, left, bottom, and right borders of a cell. Consequently, this class includes the properties Top, Left, Bottom, and Right, each of which gets or sets an OGPen. OGPen draws the corresponding cell border. The following C# source code uses the Style.Borders property to set the cell borders for cell 1,1 to solid, black lines.
GridControl1[12, 3].Style.Borders = new Stingray.Grid.CellBorders( new OGPen(BorderDashStyle.Solid, Color.Black, 1), new OGPen(BorderDashStyle.Solid, Color.Black, 1), new OGPen(BorderDashStyle.Solid, Color.Black, 1), new OGPen(BorderDashStyle.Solid, Color.Black, 1));
Namespace: Stingray.Grid
Assemblies: Stingray.GridControl80 (in Stingray.GridControl80.dll)
Stingray.GridControl90 (in Stingray.GridControl90.dll)
Stingray.GridControl10 (in Stingray.GridControl10.dll)