Spread WPF Documentation
StartCellEditing(Boolean,String) Method
Example 


GrapeCity.Windows.SpreadSheet.UI Namespace > SheetView Class : StartCellEditing(Boolean,String) Method
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
See Also

Reference

SheetView Class
SheetView Members