GrapeCity.Win.PluginInputMan アセンブリ > GrapeCity.Win.Spread.InputMan.CellType 名前空間 > GcTextBoxCellType クラス : AcceptsTabChar プロパティ |
'Declaration Public Property AcceptsTabChar As TabCharMode
'使用法 Dim instance As GcTextBoxCellType Dim value As TabCharMode instance.AcceptsTabChar = value value = instance.AcceptsTabChar
public TabCharMode AcceptsTabChar {get; set;}
例外 | 説明 |
---|---|
System.ComponentModel.InvalidEnumArgumentException | valueが有効なTabCharMode項目ではありません。 |
GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType datecell = new GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType(); datecell.AcceptsCrLf = GrapeCity.Win.Spread.InputMan.CellType.CrLfMode.Cut; fpSpread1.Sheets[0].Cells[0, 0].CellType = datecell; GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType textcell = new GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType(); textcell.AcceptsCrLf = GrapeCity.Win.Spread.InputMan.CellType.CrLfMode.Cut; textcell.AcceptsTabChar = GrapeCity.Win.Spread.InputMan.CellType.TabCharMode.NoControl; textcell.AllowSpace = GrapeCity.Win.Spread.InputMan.CellType.AllowSpace.Both; fpSpread1.Sheets[0].Cells[1, 1].CellType = textcell;
Dim datecell As New GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType() datecell.AcceptsCrLf = GrapeCity.Win.Spread.InputMan.CellType.CrLfMode.Cut FpSpread1.Sheets(0).Cells(0, 0).CellType = datecell Dim textcell As New GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType() textcell.AcceptsCrLf = GrapeCity.Win.Spread.InputMan.CellType.CrLfMode.Cut textcell.AcceptsTabChar = GrapeCity.Win.Spread.InputMan.CellType.TabCharMode.NoControl textcell.AllowSpace = GrapeCity.Win.Spread.InputMan.CellType.AllowSpace.Both FpSpread1.Sheets(0).Cells(1, 1).CellType = textcell