FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread.CellType 名前空間 > MaskCellType クラス : CustomMaskCharacters プロパティ |
'Declaration Public Overridable Property CustomMaskCharacters As String()
'使用法 Dim instance As MaskCellType Dim value() As String instance.CustomMaskCharacters = value value = instance.CustomMaskCharacters
public virtual string[] CustomMaskCharacters {get; set;}
FarPoint.Win.Spread.CellType.MaskCellType mask =new FarPoint.Win.Spread.CellType.MaskCellType(); string[] test; test = new string[] {"t", "e", "s", "t"}; mask.CustomMaskCharacters = test; // 0 is the first character in the array, 1 is the second character, etc... mask.Mask = "0120"; fpSpread1.Sheets[0].Cells[0, 0].CellType = mask;
Dim test As String() test = New String() {"t", "e", "s", "t"} Dim mask As New FarPoint.Win.Spread.CellType.MaskCellType() mask.CustomMaskCharacters = test ' 0 is the first character in the array, 1 is the second character, etc... mask.Mask = "0120" FpSpread1.Sheets(0).Cells(0, 0).CellType = mask