GrapeCity.Xaml.SpreadSheet.UI
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 Boolean, _
   Optional ByVal defaultText As String _
) 
'Usage
 
Dim instance As SheetView
Dim selectAll As Boolean
Dim defaultText As String
 
instance.StartCellEditing(selectAll, defaultText)
public void StartCellEditing( 
   bool selectAll,
   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.
private void gcSpreadSheet1_EnterCell(object sender, GrapeCity.Xaml.SpreadSheet.UI.EnterCellEventArgs e)
        {
            gcSpreadSheet1.View.StartCellEditing(false);
        }
Private Sub gcSpreadSheet1_EnterCell(sender As Object, e As GrapeCity.Xaml.SpreadSheet.UI.EnterCellEventArgs) Handles gcSpreadSheet1.EnterCell
        gcSpreadSheet1.View.StartCellEditing(False)
    End Sub
Requirements

Target Platforms: Windows Server 2012, Windows RT

See Also

Reference

SheetView Class
SheetView Members

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options