Spread ASP.NET 6.0 Product Documentation
EditModeReplace Property
See Also  Example Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > FpSpread Class : EditModeReplace Property


Glossary Item Box

Gets or sets whether the existing text in a cell is selected when the cell enters edit mode.

Syntax

Visual Basic (Declaration) 
Public Property EditModeReplace As Boolean
Visual Basic (Usage)Copy Code
Dim instance As FpSpread
Dim value As Boolean
 
instance.EditModeReplace = value
 
value = instance.EditModeReplace
C# 
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.
C#Copy Code
FpSpread1.EditModeReplace = true;
Visual BasicCopy Code
FpSpread1.EditModeReplace = True

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.