Spread ASP.NET 14
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / FpSpread Class / EditModeReplace Property
Example


In This Topic
    EditModeReplace Property
    In This Topic
    Gets or sets whether the existing text in a cell is selected when the cell enters edit mode.
    Syntax
    'Declaration
     
    Public Property EditModeReplace As Boolean
    'Usage
     
    Dim instance As FpSpread
    Dim value As Boolean
     
    instance.EditModeReplace = value
     
    value = instance.EditModeReplace
    public bool EditModeReplace {get; set;}

    Property Value

    true if text is selected in edit mode; otherwise false
    Remarks

    This property only works when the EnableClientScript Property property is set to true.

    Example
    This example specifies uses the property to specify that text in a cell is selected when the cell enters edit mode.
    FpSpread1.EditModeReplace = true;
    
    FpSpread1.EditModeReplace = True
    See Also