Spread WPF Documentation
GrapeCity.Windows.SpreadSheet.Data Namespace / Cell Class / ResetTabStop Method
Example


In This Topic
    ResetTabStop Method (Cell)
    In This Topic
    Resets whether the user can set focus to the cell using the Tab key, to its default value.
    Syntax
    'Declaration
     
    Public Sub ResetTabStop() 
    'Usage
     
    Dim instance As Cell
     
    instance.ResetTabStop()
    public void ResetTabStop()
    Example
    This example uses the ResetTabStop method.
    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