Spread Windows Forms 12.0 Product Documentation
TabStop Field
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetStyleProperty Class : TabStop Field
Represents the tab stop setting of the sheet style. This field is read-only.
Syntax
'Declaration
 
Public Shared ReadOnly TabStop As SheetStyleProperty
'Usage
 
Dim value As SheetStyleProperty
 
value = SheetStyleProperty.TabStop
public static readonly SheetStyleProperty TabStop
Example
This example sets whether tabbing is allowed through the sheet.
FarPoint.Win.Spread.StyleInfo si = new FarPoint.Win.Spread.StyleInfo(); 
si.CanFocus = false; 
si.NoteStyle = NoteStyle.StickyNote; 
si.TabStop = false; 
si.VisualStyles = FarPoint.Win.VisualStyles.On; 
fpSpread1.ActiveSheet.DefaultStyle = si; 
bool b = si.IsPropertySet(FarPoint.Win.Spread.SheetStyleProperty.TabStop); 
if (b == true) { 
     MessageBox.Show("No tabbing allowed."); 
}
Dim si As New FarPoint.Win.Spread.StyleInfo
si.CanFocus = False
si.NoteStyle = NoteStyle.StickyNote
si.TabStop = False
si.VisualStyles = FarPoint.Win.VisualStyles.On
FpSpread1.ActiveSheet.DefaultStyle = si
Dim b As Boolean = si.IsPropertySet(FarPoint.Win.Spread.SheetStyleProperty.TabStop)
If b = True Then
    MessageBox.Show("No tabbing allowed.")
End If
See Also

Reference

SheetStyleProperty Class
SheetStyleProperty Members