Spread Silverlight Documentation
StartCellEditing(Boolean,String) Method
Example 


if set to true selects all the text when the text is changed during editing.
if set to true [default text].
Starts to edit the active cell.
Syntax
'Declaration
 
Public Sub StartCellEditing( _
   Optional ByVal selectAll As System.Boolean, _
   Optional ByVal defaultText As System.String _
) 
'Usage
 
Dim instance As SheetView
Dim selectAll As System.Boolean
Dim defaultText As System.String
 
instance.StartCellEditing(selectAll, defaultText)
public void StartCellEditing( 
   System.bool selectAll,
   System.string defaultText
)

Parameters

selectAll
if set to true selects all the text when the text is changed during editing.
defaultText
if set to true [default text].
Example
This example uses the StartCellEditing method.
void gcSpread1_EnterCell(object sender, EnterCellEventArgs e)
{
    gcSpreadSheet1.View.StartCellEditing(false);
}
Private Sub GcSpreadSheet1_EnterCell(sender As System.Object, e As GrapeCity.Windows.SpreadSheet.UI.EnterCellEventArgs)
        GcSpreadSheet1.View.StartCellEditing(False)
End Sub
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

SheetView Class
SheetView Members

 

 


Copyright © GrapeCity, inc. All rights reserved.