使用下列示例代码来获取当前的编辑值。
C# | 复制代码 |
---|---|
string editingValue; if(gridControl1.KeyboardFocusView.IsEditing) editingValue = gridControl1.KeyboardFocusView.EditingValue.ToString(); |
Visual Basic | 复制代码 |
---|---|
Dim EditingValue As String If gridControl1.KeyboardFocusView.IsEditing Then EditingValue = gridControl1.KeyboardFocusView.EditingValue.ToString() EndIf |