Spread Silverlight Documentation
GrapeCity.Windows.SpreadSheet.Data Namespace / Column Class / TabStop Property
Example


In This Topic
    TabStop Property (Column)
    In This Topic
    Gets or sets a value that indicates whether the user can set focus to cells in this column using the Tab key.
    Syntax
    'Declaration
     
    <DefaultValueAttribute(True)>
    Public Property TabStop As Boolean
    'Usage
     
    Dim instance As Column
    Dim value As Boolean
     
    instance.TabStop = value
     
    value = instance.TabStop
    [DefaultValue(true)]
    public bool TabStop {get; set;}

    Property Value

    true if the user can set focus to cells in this column using the Tab key; otherwise, false. The default value is true.
    Example
    This example sets the TabStop property.
    gcSpreadSheet1.ActiveSheet.Columns[1].Tag = "test";
    gcSpreadSheet1.ActiveSheet.Columns[1].TabStop = false;
    gcSpreadSheet1.ActiveSheet.Columns[1].ShrinkToFit = true;
    gcSpreadSheet1.ActiveSheet.Cells[0, 1].Text = "Column with tags";
    //gcSpreadSheet1.ActiveSheet.Columns[1].ResetTabStop();
    //gcSpreadSheet1.ActiveSheet.Columns[1].ResetShrinkToFit();
    GcSpreadSheet1.ActiveSheet.Columns(1).Tag = "test"
    GcSpreadSheet1.ActiveSheet.Columns(1).TabStop = False
    GcSpreadSheet1.ActiveSheet.Columns(1).ShrinkToFit = True
    GcSpreadSheet1.ActiveSheet.Cells(0, 1).Text = "Column with tags"
    'GcSpreadSheet1.ActiveSheet.Columns(1).ResetTabStop()
    'GcSpreadSheet1.ActiveSheet.Columns(1).ResetShrinkToFit()
    See Also