HOME PAGE | DOWNLOAD | TUTORIALS | XtraReports
Devexpress

Sunday, July 22, 2012

How to: Get the Currently Edited Value

Use the following sample code to get the currently edited value.

C#

string editingValue;

if(gridControl1.KeyboardFocusView.IsEditing)

   editingValue = gridControl1.KeyboardFocusView.EditingValue.ToString();

VB

Dim EditingValue As String
If gridControl1.KeyboardFocusView.IsEditing Then 
    EditingValue = gridControl1.KeyboardFocusView.EditingValue.ToString()
EndIf

 

No comments:

Post a Comment