Spread Silverlight Documentation
Tag Property (Row)
Example 


GrapeCity.Windows.SpreadSheet.Data Namespace > Row Class : Tag Property
Gets or sets the application-defined tag value associated with the cells in this row.
Syntax
'Declaration
 
<System.ComponentModel.DefaultValueAttribute()>
Public Property Tag As System.Object
'Usage
 
Dim instance As Row
Dim value As System.Object
 
instance.Tag = value
 
value = instance.Tag
[System.ComponentModel.DefaultValue()]
public System.object Tag {get; set;}

Property Value

An application-defined tag value for a cell. The default value is null.
Example
This example sets the Tag property.
gcSpreadSheet1.ActiveSheet.Rows[1].Tag = "test";
gcSpreadSheet1.ActiveSheet.Rows[1].TabStop = false;
gcSpreadSheet1.ActiveSheet.Rows[1].ShrinkToFit = true;
gcSpreadSheet1.ActiveSheet.Cells[1, 0].Text = "Row with tags";
//gcSpreadSheet1.ActiveSheet.Rows[1].ResetTabStop();
//gcSpreadSheet1.ActiveSheet.Rows[1].ResetShrinkToFit();
GcSpreadSheet1.ActiveSheet.Rows(1).Tag = "test"
GcSpreadSheet1.ActiveSheet.Rows(1).TabStop = False
GcSpreadSheet1.ActiveSheet.Rows(1).ShrinkToFit = True
GcSpreadSheet1.ActiveSheet.Cells(1, 0).Text = "Row with tags"
'GcSpreadSheet1.ActiveSheet.Rows(1).ResetTabStop()
'GcSpreadSheet1.ActiveSheet.Rows(1).ResetShrinkToFit()
See Also

Reference

Row Class
Row Members