Gets or sets the number of columns the cell spans.
Visual Basic (Declaration) | |
---|---|
Public Property ColSpan As System.Integer |
C# | |
---|---|
public System.int ColSpan {get; set;} |
Property Value
An Int structure indicating the number of columns the cell spans.
A ColSpan of 1 is the same as not specifying a ColSpan.
For the purpose of hidden columns, the cell is considered to occupy the first visible column in which it appears. Hiding a spanned column reduces the effective number of columns spanned. The cell remains visible, spanning the nonhidden columns, unless all spanned columns are hidden.