Xceed Grid for WinForms v4.3 Documentation
EndingEdit Event


Xceed.Grid.v4.3 Assembly > Xceed.Grid Namespace > CellRow Class : EndingEdit Event
Raised when the EndEdit method is called to signal that the row has finished being edited and that the changes are about to be committed.
Syntax
'Declaration
 
<DescriptionAttribute("Raised when the EndEdit method is called to signal that the row has finished being edited and that the changes are about to be committed.")>

<CategoryAttribute("Data")>

Public Event EndingEdit As CancelEventHandler
'Usage
 
Dim instance As CellRow

Dim handler As CancelEventHandler

 

AddHandler instance.EndingEdit, handler
[Description("Raised when the EndEdit method is called to signal that the row has finished being edited and that the changes are about to be committed.")]

[Category("Data")]

public event CancelEventHandler EndingEdit
Event Data

The event handler receives an argument of type CancelEventArgs containing data related to this event. The following CancelEventArgs properties provide information specific to this event.

PropertyDescription
 
Remarks

Custom validation can be provided in the EndingEdit event. In this event, if the validation process fails, setting e.Cancel to true will cause the ValidationError event to be raised.

Setting e.CancelEdit to false in the ValidationError event will prevent the row from leaving edit mode in the case where the values of one of its cells fails the validation process.

Requirements

Target Platforms: 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