public void CreateGeneralCell3() { GeneralCellType generalCellType1 = new GeneralCellType(); generalCellType1.IsInputMethodEnabled = true; //Set IME mode to 'Full-width with Katakana' generalCellType1.ImeConversionMode = System.Windows.Input.ImeConversionModeValues.Katakana| System.Windows.Input.ImeConversionModeValues.Native| System.Windows.Input.ImeConversionModeValues.FullShape; //Set IME Sentence Mode to BiasForNames generalCellType1.ImeSentenceMode = System.Windows.Input.ImeSentenceModeValues.PluralClause; generalCellType1.ImeState = System.Windows.Input.InputMethodState.On; this._gcSpreadGrid1[0, 0].CellType = generalCellType1; }
Public Sub CreateGeneralCell3() Dim generalCellType1 As New GeneralCellType() generalCellType1.IsInputMethodEnabled = True 'Set IME mode to 'Full-width with Katakana' generalCellType1.ImeConversionMode = System.Windows.Input.ImeConversionModeValues.Katakana Or System.Windows.Input.ImeConversionModeValues.Native Or System.Windows.Input.ImeConversionModeValues.FullShape 'Set IME Sentence Mode to BiasForNames generalCellType1.ImeSentenceMode = System.Windows.Input.ImeSentenceModeValues.PluralClause generalCellType1.ImeState = System.Windows.Input.InputMethodState.[On] Me._gcSpreadGrid1(0, 0).CellType = generalCellType1 End Sub