C#- int selectionStart = (this.gcMultiRow.EditingControl as TextBox).SelectionStart;
- int selectionLength = (this.gcMultiRow.EditingControl as TextBox).SelectionLength;
复制代码
VB- Dim selectionStart As Integer = TryCast(Me.gcMultiRow.EditingControl, TextBox).SelectionStart
- Dim selectionLength As Integer = TryCast(Me.gcMultiRow.EditingControl, TextBox).SelectionLength
复制代码 |