public void CreateGeneralCell4() { GeneralCellType generalCellType1 = new GeneralCellType(); //Enter edit status, select some text, the selection background will be Red. generalCellType1.SelectionBrush = new SolidColorBrush(Colors.Red); generalCellType1.SelectionOpacity = 0.6; generalCellType1.TextWrapping = System.Windows.TextWrapping.Wrap; this._gcSpreadGrid1[0, 0].CellType = generalCellType1; }
Public Sub CreateGeneralCell4() Dim generalCellType1 As New GeneralCellType() 'Enter edit status, select some text, the selection background will be Red. generalCellType1.SelectionBrush = New SolidColorBrush(Colors.Red) generalCellType1.SelectionOpacity = 0.6 generalCellType1.TextWrapping = System.Windows.TextWrapping.Wrap Me._gcSpreadGrid1(0, 0).CellType = generalCellType1 End Sub