Spread Windows Forms 12.0 Product Documentation
RegularExpressionCellType Constructor()
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.CellType Namespace > RegularExpressionCellType Class > RegularExpressionCellType Constructor : RegularExpressionCellType Constructor()
Creates a new regular expression cell.
Syntax
'Declaration
 
Public Function New()
'Usage
 
Dim instance As New RegularExpressionCellType()
public RegularExpressionCellType()
Example
This example creates a cell of this type, sets a property of this cell type, and assigns this cell type to a cell.
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
See Also

Reference

RegularExpressionCellType Class
RegularExpressionCellType Members
Overload List