Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / CurrencyCellType Class / EditMode Property
Example


In This Topic
    EditMode Property (CurrencyCellType)
    In This Topic
    Gets the format setting of a cell type in edit mode.
    Syntax
    'Declaration
     
    
    Public Shadows ReadOnly Property EditMode As CurrencyCellType.EditModeSettings
    'Usage
     
    
    Dim instance As CurrencyCellType
    Dim value As CurrencyCellType.EditModeSettings
     
    value = instance.EditMode
    public new CurrencyCellType.EditModeSettings EditMode {get;}
    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