Spread for ASP.NET 11 Product Documentation
Tag Property (Column)
Example 


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > Column Class : Tag Property
Gets or sets the application-defined tag value associated with the cells in this column.
Syntax
'Declaration
 
Public Property Tag As Object
'Usage
 
Dim instance As Column
Dim value As Object
 
instance.Tag = value
 
value = instance.Tag
public object Tag {get; set;}

Property Value

Object containing the tag for cells in this column
Remarks
This value is only for the application's use; the component does not use this value.
Example
This example sets and gets a column tag.
FpSpread1.ActiveSheetView.Columns[0].Tag = "Column Tag";
TextBox1.Text = FpSpread1.ActiveSheetView.Columns[0].Tag.ToString();
FpSpread1.ActiveSheetView.Columns(0).Tag = "Column Tag"
TextBox1.Text = FpSpread1.ActiveSheetView.Columns(0).Tag.ToString()
See Also

Reference

Column Class
Column Members