FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > DateTimeCellType Class : EditMode Property |
'Declaration Public Shadows ReadOnly Property EditMode As DateTimeCellType.EditModeSettings
'Usage Dim instance As DateTimeCellType Dim value As DateTimeCellType.EditModeSettings value = instance.EditMode
public new DateTimeCellType.EditModeSettings EditMode {get;}
protected void Page_Load(object sender, System.EventArgs e) { if (this.IsPostBack) return; FarPoint.Web.Spread.DateTimeCellType dct = new FarPoint.Web.Spread.DateTimeCellType(); dct.DateTimeFormat = new System.Globalization.DateTimeFormatInfo(); dct.FormatString = "yyyy/MM/dd"; dct.EditMode.DateTimeFormat = new System.Globalization.DateTimeFormatInfo(); dct.EditMode.FormatString = "yyyy.MM.dd"; FpSpread1.Sheets[0].Columns[1].CellType = dct; }
protected void Page_Load(object sender, System.EventArgs e) { if (this.IsPostBack) return; FarPoint.Web.Spread.DateTimeCellType dct = new FarPoint.Web.Spread.DateTimeCellType(); dct.DateTimeFormat = new System.Globalization.DateTimeFormatInfo(); dct.FormatString = "yyyy/MM/dd"; dct.EditMode.DateTimeFormat = new System.Globalization.DateTimeFormatInfo(); dct.EditMode.FormatString = "yyyy.MM.dd"; FpSpread1.Sheets[0].Columns[1].CellType = dct; }
Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional