Spread Windows Forms 8.0 Product Documentation
RegularExpressionCellType Constructor()
Example 


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
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

Reference

RegularExpressionCellType Class
RegularExpressionCellType Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.