Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / DoubleCellType.EditModeSettings Class / NumberFormat Property
Example


In This Topic
    NumberFormat Property (DoubleCellType.EditModeSettings)
    In This Topic
    Gets or sets a NumberFormatInfo that defines the format for editing a number.
    Syntax
    'Declaration
     
    
    Public Property NumberFormat As NumberFormatInfo
    'Usage
     
    
    Dim instance As DoubleCellType.EditModeSettings
    Dim value As NumberFormatInfo
     
    instance.NumberFormat = value
     
    value = instance.NumberFormat
    public NumberFormatInfo NumberFormat {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. If the EditMode property is not set, the display format is applied after the cell is updated (default behavior).
    Example
    This example sets a format for edit mode.
    See Also