Spread Windows Forms 6.0 Product Documentation
Item(String) Property
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > Cells Class > Item Property : Item(String) Property


tag
Application tag for the cell

Glossary Item Box

Gets a new cell with a specified tag, or returns null if there is no cell with the specified tag.

Syntax

Visual Basic (Declaration) 
Public Overloads ReadOnly Property Item( _
   ByVal tag As String _
) As Cell
Visual Basic (Usage)Copy Code
Dim instance As Cells
Dim tag As String
Dim value As Cell
 
value = instance.Item(tag)
C# 
public Cell Item( 
   string tag
) {get;}

Parameters

tag
Application tag for the cell

Property Value

Cell object for the specified tag

Example

This example puts text in a cell using the column letter.
C#Copy Code
fpSpread1.Sheets[0].Cells["B1"].Text = "test";
Visual BasicCopy Code
FpSpread1.Sheets(0).Cells("B1").Text = "test"

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.