OGPen Class |
Namespace: Stingray.Grid
The OGPen type exposes the following members.
Name | Description | |
---|---|---|
OGPen |
Initializes a new OGPen object.
| |
OGPen(OGPen) |
Initializes a new OGPen object from another one.
| |
OGPen(SerializationInfo, StreamingContext) |
Internal.
| |
OGPen(BorderDashStyle, Color, Byte) |
Initializes a new OGPen object using a specified border dash style,
color, and weight.
|
Name | Description | |
---|---|---|
Clone |
Creates a copy of this OGPen.
| |
Equals |
Compares two pens for equality.
(Overrides ObjectEquals(Object).) | |
GetHashCode |
Calculates the hash code for this pen.
(Overrides ObjectGetHashCode.) | |
MakeGdiPlusPen |
Converts this OGPen to an equivalent GDI+ Pen object.
| |
OGBlankPen |
Creates a blank pen -- a pen that draws nothing.
| |
OGSolidPen |
Creates a solid pen using a specified color and weight.
|
Name | Description | |
---|---|---|
BorderColor |
Gets or sets the color of the pen (border).
| |
DashStyle |
Gets or sets the border dash style for the pen.
| |
Description |
Returns a string description for this pen.
| |
Weight |
Gets or sets the weight, or width, of the pen (border).
|
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));