Gets a new column for the specified column.
Syntax
Visual Basic (Declaration) | |
---|
Public Overloads ReadOnly Property Item( _
ByVal column As Integer _
) As Column |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As Columns
Dim column As Integer
Dim value As Column
value = instance.Item(column) |
Parameters
- column
- Column specified
Property Value
Column object
Exceptions
Example
This example specifies the background color of several columns based on the Item property.
C# | Copy Code |
---|
[NOTE: There is no support for the Item property in C#.]
FpSpread1.ActiveSheetView.Columns[0].BackColor = Color.Teal;
FpSpread1.ActiveSheetView.Columns[1, 2].BackColor = Color.DarkSeaGreen;
|
Visual Basic | Copy Code |
---|
FpSpread1.ActiveSheetView.Columns.Item(0).BackColor = Color.Teal
FpSpread1.ActiveSheetView.Columns.Item(1, 2).BackColor = Color.DarkSeaGreen |
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also