public void CreateGeneralCell6() { GeneralCellType generalCellType1 = new GeneralCellType(); //Cell can enter edit status and select the text, but cannot edit text generalCellType1.IsReadOnly = true; this._gcSpreadGrid1[0, 0].CellType = generalCellType1; }
Public Sub CreateGeneralCell6() Dim generalCellType1 As New GeneralCellType() 'Cell can enter edit status and select the text, but cannot edit text generalCellType1.IsReadOnly = True Me._gcSpreadGrid1(0, 0).CellType = generalCellType1 End Sub