GrapeCity.Xaml.SpreadSheet.UI Namespace > SheetView Class : StartCellEditing(Boolean,String) Method |
true
selects all the text when the text is changed during editing.
true
[default text].
'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 )
true
selects all the text when the text is changed during editing.true
[default text].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
Target Platforms: Windows Server 2012, Windows RT