This class represents how a grid cell border is drawn.
For a list of all members of this type, see OGPen Members.
System.Object
OGPen
Cell borders are available via the Borders property on a Style object. For example, use the following C# code to set the cell borders for cell 1,1 in a grid to use solid, black borders.
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)