Spread ASP.NET 6.0 Product Documentation
Item(Int32,Int32) Property
See Also  Example Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > Columns Class > Item Property : Item(Int32,Int32) Property


column
Beginning of range of columns
column2
End of range of columns specified

Glossary Item Box

Gets a new column for the specified range of columns.

Syntax

Visual Basic (Declaration) 
Public Overloads ReadOnly Property Item( _
   ByVal column As Integer, _
   ByVal column2 As Integer _
) As Column
Visual Basic (Usage)Copy Code
Dim instance As Columns
Dim column As Integer
Dim column2 As Integer
Dim value As Column
 
value = instance.Item(column, column2)
C# 
public Column Item( 
   int column,
   int column2
) {get;}

Parameters

column
Beginning of range of columns
column2
End of range of columns specified

Property Value

Column object

Exceptions

ExceptionDescription
System.IndexOutOfRangeException Specified column index is out of range. It must less than the column count or -1 for all.

Example

This example specifies the background color of several columns based on the Item property.
C#Copy Code
ListBox1.Items.Add(FpSpread1.ActiveSheetView.Columns.Parent.ToString());
Visual BasicCopy Code
ListBox1.Items.Add(FpSpread1.ActiveSheetView.Columns.Parent.ToString())

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

© 2002-2012 GrapeCity, Inc. All Rights Reserved.