GrapeCity.Windows.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 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 )
true
selects all the text when the text is changed during editing.true
[default text].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
Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional (SP4), Windows XP (SP2), Windows 2008, Windows 2003 Server (SP1)