Spread Windows Forms 13.0 Product Documentation
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / GcNumberCellType Class / DropDownCalculator Property
Example


In This Topic
    DropDownCalculator Property
    In This Topic
    2
    Syntax
    'Declaration
     
    Public ReadOnly Property DropDownCalculator As DropDownCalculatorInfo
    'Usage
     
    Dim instance As GcNumberCellType
    Dim value As DropDownCalculatorInfo
     
    value = instance.DropDownCalculator
    public DropDownCalculatorInfo DropDownCalculator {get;}

    Property Value

    A DropDownCalculator instance.
    Remarks
    The drop-down calculator control can be customized by setting this DropDownCalculator property.
    Example
    This example sets calculator properties.
    GrapeCity.Win.Spread.InputMan.CellType.GcNumberCellType ncell1 = new GrapeCity.Win.Spread.InputMan.CellType.GcNumberCellType();
    ncell1.DropDownCalculator.BackColor = Color.Bisque;
    ncell1.DropDownCalculator.BorderStyle = BorderStyle.FixedSingle;
    fpSpread1.ActiveSheet.Cells[1, 1].CellType = ncell1;
    Dim ncell1 As New GrapeCity.Win.Spread.InputMan.CellType.GcNumberCellType()
    ncell1.DropDownCalculator.BackColor = Color.Bisque
    ncell1.DropDownCalculator.BorderStyle = BorderStyle.FixedSingle
    fpSpread1.ActiveSheet.Cells(1, 1).CellType = ncell1
    See Also