FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > Cell Class : ParseFormatString Property |
'Declaration Public Property ParseFormatString As String
'Usage Dim instance As Cell Dim value As String instance.ParseFormatString = value value = instance.ParseFormatString
public string ParseFormatString {get; set;}
FarPoint.Win.Spread.CellType.GeneralCellType gct = new FarPoint.Win.Spread.CellType.GeneralCellType(); fpSpread1.ActiveSheet.Cells[0, 0].CellType = gct; System.Globalization.CultureInfo ci = new System.Globalization.CultureInfo("en-us", true); fpSpread1.ActiveSheet.Cells[0, 0].Value = System.DateTime.Now; fpSpread1.ActiveSheet.Cells[0, 0].ParseFormatString = ci.DateTimeFormat.ToString();
Dim gct As New FarPoint.Win.Spread.CellType.GeneralCellType Dim ci As New System.Globalization.CultureInfo("en-us", True) FpSpread1.ActiveSheet.Cells(0, 0).CellType = gct FpSpread1.ActiveSheet.Cells(0, 0).Value = Now FpSpread1.ActiveSheet.Cells(0, 0).ParseFormatString = ci.DateTimeFormat.ToString()
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10