FarPoint.Web.Spread 名前空間 > RegExpCellType クラス > RegExpCellType コンストラクタ : RegExpCellType コンストラクタ() |
FarPoint.Web.Spread.RegExpCellType re = New FarPoint.Web.Spread.RegExpCellType(); re.ErrorMessage = "SSN ( ex, 123-45-6789 )"; re.ValidationExpression = "^\\d{3}-\\d{2}-\\d{4}$"; FpSpread1.ActiveSheetView.Cells[0, 0].CellType = re;
Dim re As New FarPoint.Web.Spread.RegExpCellType() re.ErrorMessage = "SSN ( ex, 123-45-6789 )" re.ValidationExpression = "^\d{3}-\d{2}-\d{4}$" FpSpread1.ActiveSheetView.Cells(0, 0).CellType = re