Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / SheetStyleProperty Class / InputScope Field
Example


In This Topic
    InputScope Field
    In This Topic
    Represents the Input scope of the sheet style.
    Syntax
    'Declaration
     
    Public Shared ReadOnly InputScope As SheetStyleProperty
    'Usage
     
    Dim value As SheetStyleProperty
     
    value = SheetStyleProperty.InputScope
    public static readonly SheetStyleProperty InputScope
    Example
    This example sets the InputScope property.
    FarPoint.Win.Spread.StyleInfo info = new FarPoint.Win.Spread.StyleInfo();
    bool b;
    info.BackColor = Color.LightBlue;
    info.InputScope = FarPoint.Win.InputScopeNameValue.Number;       
    fpSpread1.ActiveSheet.DefaultStyle = info;
    b = info.IsPropertySet(FarPoint.Win.Spread.SheetStyleProperty.InputScope);
    listBox1.Items.Add(b.ToString());
    Dim info As New FarPoint.Win.Spread.StyleInfo()
    Dim b As Boolean
    info.BackColor = Color.LightBlue
    info.InputScope = FarPoint.Win.InputScopeNameValue.Number
    fpSpread1.ActiveSheet.DefaultStyle = info
    b = info.IsPropertySet(FarPoint.Win.Spread.SheetStyleProperty.InputScope)
    ListBox1.Items.Add(b.ToString())
    See Also