Spread ASP.NET 14
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / IntegerCellType Class / ShowPopupButton Property
Example


In This Topic
    ShowPopupButton Property (IntegerCellType)
    In This Topic
    Gets or sets whether the editor supports showing a pop-up control.
    Syntax
    'Declaration
     
    Public Overrides Property ShowPopupButton As Boolean
    'Usage
     
    Dim instance As IntegerCellType
    Dim value As Boolean
     
    instance.ShowPopupButton = value
     
    value = instance.ShowPopupButton
    public override bool ShowPopupButton {get; set;}
    Example
    This example shows a pop-up button when the cell is in edit mode.
    FarPoint.Web.Spread.IntegerCellType intcell = new FarPoint.Web.Spread.IntegerCellType();
    intcell.ShowPopupButton = true;
    FpSpread1.ActiveSheetView.Cells[1, 1].CellType = intcell;
    FpSpread1.ActiveSheetView.Cells[1, 1].Value = 2;
    Dim intcell = New FarPoint.Web.Spread.IntegerCellType()
    intcell.ShowPopupButton = True
    FpSpread1.ActiveSheetView.Cells(1, 1).CellType = intcell
    FpSpread1.ActiveSheetView.Cells(1, 1).Value = 2
    See Also