GridSpanBorderChars - ahatornn/clforms GitHub Wiki

GridSpanBorderChars

ClForms.Common.GridSpanBorderChars
Defines border characters of table with spanned cells

public class GridSpanBorderChars: GridBorderChars

Inheritance BorderChars -> GridBorderChars -> GridSpanBorderChars

Constructors

Syntax Description
GridSpanBorderChars(BorderChars borderChars, char topInner, char rightInner, char bottomInner, char leftInner, char verticalInner, char horizontalInner, char crossInner, char crossSpanTopInner, char crossSpanRightInner, char crossSpanBottomInner, char crossSpanLeftInner, char crossSpanCornerTopInner, char crossSpanCornerRightInner, char crossSpanCornerBottomInner, char crossSpanCornerLeftInner) Initialize a new GridSpanBorderChars instance
GridSpanBorderChars(char topLeft, char topMiddle, char topRight, char middleLeft, char middleRight, char bottomLeft, char bottomMiddle, char bottomRight, char topInner, char rightInner, char bottomInner, char leftInner, char verticalInner, char horizontalInner, char crossInner, char crossSpanTopInner, char crossSpanRightInner, char crossSpanBottomInner, char crossSpanLeftInner, char crossSpanCornerTopInner, char crossSpanCornerRightInner, char crossSpanCornerBottomInner, char crossSpanCornerLeftInner) Initialize a new GridSpanBorderChars instance

Properties

x a b c d e f j h i j k l m
1
2
3
4
5
6
7
8
9
10
11
12
13
Name Type Description Example cell
BottomInner char Returns the inner line from bottom c13, j13, k13
BottomLeft char Returns the bottom left corner character a13
BottomMiddle char Returns the bottom middle character b13, d13, e13, f13, h13, i13, j13, l13
BottomRight char Returns the bottom right corner character m13
CrossInner char Returns the cross of inner lines c3, k3, j7, c11, k11
CrossSpanBottomInner char Returns the inner line with bottom spanned j3, j9
CrossSpanCornerBottomInner char Returns the inner line of right-bottom spanned corner i9
CrossSpanCornerLeftInner char Returns the inner line of left-bottom spanned corner e9
CrossSpanCornerRightInner char Returns the inner line of right-top spanned corner i5
CrossSpanCornerTopInner char Returns the inner line of left-top spanned corner e5
CrossSpanLeftInner char Returns the inner line with left spanned e7, k7
CrossSpanRightInner char Returns the inner line with right spanned c7, i7
CrossSpanTopInner char Returns the inner line with top spanned j5, j11
HorizontalInner char Returns the horizontal inner line b3, d3, e3, f3, h3, i3, j3, l3, f5, h5, b7, l7, f9, h9, b11, d11, e11, f11, h11, i11, j11, l11
LeftInner char Returns the inner line from left a3, a7, a11
MiddleLeft char Returns the middle left character a2, a4, a5, a6, a8, a9, a10, a12
MiddleRight char Returns the middle right character m2, m4, m5, m6, m8, m9. m10, m12
RightInner char Returns the inner line from right m3, m7, m11
TopInner char Returns the inner line from top c1, j1, k1
TopLeft char Returns the upper left corner character a1
TopMiddle char Returns the upper middle character b1, d1, e1, f1, h1, i1, j1, l1
TopRight char Returns the upper right corner character m1
VerticalInner char Returns the vertical inner line c2, j2, k2, c4, k4, c5, k5, c6, e6, j6, i6, k6, c8, e8, j8, i8, k8, c9, k9, c10, k10,c12, j12, k12

Notes

As default for Grid GridSpanBorderChars equals

new GridSpanBorderChars('┌', '─', '┐', '│', '│', '└', '─', '┘', '┬', '┤', '┴', '├', 
'│', '─', '┼', '┬', '┤', '┴', '├', '┌', '┐', '┘', '└');

If you want to set borders like example above use next code

new GridSpanBorderChars('╔', '═', '╗', '║', '║', '╚', '═', '╝', '╤', '╢', '╧', '╟', 
'│', '─', '┼', '┬', '┤', '┴', '├', '┌', '┐', '┘', '└');