Spread for ASP.NET 7.0 Product Documentation
EditModeReplace Property
See Also  Example Support Options
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 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.