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


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()
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

Column Class
Column Members

 

 


Copyright © GrapeCity, inc. All rights reserved.