FarPoint.Win.Spread アセンブリ > FarPoint.Win.Spread.CellType 名前空間 > RegularExpressionCellType クラス : RegularExpression プロパティ |
'Declaration
Public Property RegularExpression As String
public string RegularExpression {get; set;}
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