Spread WPF Documentation
TabStop Property (Cell)
Example 


GrapeCity.Windows.SpreadSheet.Data Namespace > Cell Class : TabStop Property
Gets or sets a value that indicates whether the user can set focus to the cell using the Tab key.
Syntax
'Declaration
 
<System.ComponentModel.DefaultValueAttribute()>
Public Property TabStop As System.Boolean
'Usage
 
Dim instance As Cell
Dim value As System.Boolean
 
instance.TabStop = value
 
value = instance.TabStop
[System.ComponentModel.DefaultValue()]
public System.bool TabStop {get; set;}

Property Value

true if the user can set focus to the cell using the Tab key; otherwise, false. The default value is true.
Example
This example uses the TabStop property.
gcSpreadSheet1.ActiveSheet.Cells[1, 1].Tag = "test";
gcSpreadSheet1.ActiveSheet.Cells[1, 1].TabStop = false;
gcSpreadSheet1.ActiveSheet.Cells[1, 1].Text = "Cell with tag";
gcSpreadSheet1.ActiveSheet.Cells[1, 1].ShrinkToFit = true;
//gcSpreadSheet1.ActiveSheet.Cells[1, 1].ResetTabStop();
//gcSpreadSheet1.ActiveSheet.Cells[1, 1].ResetShrinkToFit();
GcSpreadSheet1.ActiveSheet.Cells(1, 1).Tag = "test"
GcSpreadSheet1.ActiveSheet.Cells(1, 1).TabStop = False
GcSpreadSheet1.ActiveSheet.Cells(1, 1).Text = "Cell with tag"
GcSpreadSheet1.ActiveSheet.Cells(1, 1).ShrinkToFit = True
'GcSpreadSheet1.ActiveSheet.Cells(1, 1).ResetTabStop()
'GcSpreadSheet1.ActiveSheet.Cells(1, 1).ResetShrinkToFit()
See Also

Reference

Cell Class
Cell Members