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

In This Topic
    ShowPopupButton Property (BaseDropDownCellType)
    In This Topic
    Gets or sets whether the editor supports showing a pop-up control.
    Public Overridable Property ShowPopupButton As Boolean
    Dim instance As BaseDropDownCellType
    Dim value As Boolean
    instance.ShowPopupButton = value
    value = instance.ShowPopupButton
    public virtual bool ShowPopupButton {get; set;}
    This example sets the ShowPopupButton property.
    FarPoint.Web.Spread.DateTimeCellType datecell = new FarPoint.Web.Spread.DateTimeCellType();
    datecell.ShowPopupButton = true;
    FpSpread1.ActiveSheetView.Columns[1].Width = 175;
    FpSpread1.ActiveSheetView.Cells[1,1].CellType = datecell;
    Dim datecell As New FarPoint.Web.Spread.DateTimeCellType()
    datecell.ShowPopupButton = True
    FpSpread1.ActiveSheetView.Columns(1).Width = 175
    FpSpread1.ActiveSheetView.Cells(1, 1).CellType = datecell
    See Also