FarPoint.Web.Spread 名前空間 > RegExpCellType クラス : ValidationExpression プロパティ |
'Declaration
Public Property ValidationExpression As String
public string ValidationExpression {get; set;}
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