FarPoint.Win.Spread アセンブリ > FarPoint.Win.Spread.CellType 名前空間 > RegularExpressionCellType クラス : RegularExpression プロパティ |
FarPoint.Win.Spread.CellType.RegularExpressionCellType reg = new FarPoint.Win.Spread.CellType.RegularExpressionCellType(); reg.RegularExpression = "^\\d{9}$"; fpSpread1.Sheets[0].Cells[0, 0].CellType = reg;
Dim reg As New FarPoint.Win.Spread.CellType.RegularExpressionCellType() reg.RegularExpression = "^\d{9}$" FpSpread1.Sheets(0).Cells(0, 0).CellType = reg