Xceed DataGrid for WPF v7.2 Documentation
CancelEdit Method (DataGridContext)


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > DataGridContext Class : CancelEdit Method
Cancels the edit process of the item that is being edited.
Syntax
'Declaration
 
Public Sub CancelEdit() 
'Usage
 
Dim instance As DataGridContext
 
instance.CancelEdit()
public void CancelEdit()
Exceptions
ExceptionDescription
The item being edited is not part of the current context.
Requirements

Target Platforms: Windows 11, Windows, 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DataGridContext Class
DataGridContext Members