Spread ASP.NET 16
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / DateTimeCellType.EditModeSettings Class / FormatString Property
Example


In This Topic
    FormatString Property (DateTimeCellType.EditModeSettings)
    In This Topic
    Gets or sets the format string used to format the date value.
    Syntax
    'Declaration
     
    Public Property FormatString As String
    'Usage
     
    Dim instance As DateTimeCellType.EditModeSettings
    Dim value As String
     
    instance.FormatString = value
     
    value = instance.FormatString
    public string FormatString {get; set;}
    Remarks
    If the EditMode property is set and the user enters edit mode in the cell, the value is displayed in the editor using the edit mode format. If the EditMode property is set and the user leaves edit mode in the cell, the value is converted to the display format if it is valid.
    Example
    This example sets a format for edit mode.
    See Also