public void CreateNumberCell2() { NumberCellType numberCellType1 = new NumberCellType(); numberCellType1.DropDownButtonVisibility = CellButtonVisibility.AlwaysShow; numberCellType1.SpinButtonVisibility = CellButtonVisibility.NotShow; numberCellType1.AutoOpenDropDown = true; this._gcSpreadGrid1[0, 0].CellType = numberCellType1; }
Public Sub CreateNumberCell2() Dim numberCellType1 As New NumberCellType() numberCellType1.DropDownButtonVisibility = CellButtonVisibility.AlwaysShow numberCellType1.SpinButtonVisibility = CellButtonVisibility.NotShow numberCellType1.AutoOpenDropDown = True Me._gcSpreadGrid1(0, 0).CellType = numberCellType1 End Sub