![]() | CellBorders Class |
Namespace: Stingray.Grid
The CellBorders type exposes the following members.
Name | Description | |
---|---|---|
![]() | CellBorders |
Initializes a new CellBorders.
|
![]() | CellBorders(OGPen) |
Initializes a new CellBorders using a specified pen for all sides.
|
![]() | CellBorders(OGPen, OGPen) |
Initializes a new CellBorders using two different pens.
|
![]() | CellBorders(OGPen, OGPen, OGPen, OGPen) |
Initializes a new CellBorders using four different pens.
|
Name | Description | |
---|---|---|
![]() | Clone |
Creates a copy of this CellBorders object.
|
![]() | Equals |
Determines whether the specified object is equal to the current
CellBorders isntance.
(Overrides ObjectEquals(Object).) |
![]() | GetHashCode |
Calculates the hash code for a CellBorders object.
(Overrides ObjectGetHashCode.) |
![]() | IsAllBordersSame |
Checks if all border styles are the same.
|
Name | Description | |
---|---|---|
![]() | Bottom |
Gets the bottom border style.
|
![]() | Left |
Gets the left border style.
|
![]() | Right |
Gets the right border style.
|
![]() | Top |
Gets the top border style.
|
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));