BCGSoft.Controls.Grid Namespace > GridControl Class : DataItemEndEdit Event |
'Declaration Public Event DataItemEndEdit As DataItemChangeEventHandler
'Usage Dim instance As GridControl Dim handler As DataItemChangeEventHandler AddHandler instance.DataItemEndEdit, handler
public event DataItemChangeEventHandler DataItemEndEdit
public: __event DataItemChangeEventHandler* DataItemEndEdit
public: event DataItemChangeEventHandler^ DataItemEndEdit
The event handler receives an argument of type DataItemChangeEventArgs containing data related to this event. The following DataItemChangeEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Cancel (Inherited from System.ComponentModel.CancelEventArgs) | |
Column | Grid column of item data. |
ContinueEdit | Gets or sets the value that specifies whether the grid should continue editing of cell content. |
DataItem | Gets the grid item whose data is about to be changed. |
NewValue | Gets or sets the new value for the grid data item. |
PassExceptionUp | Gets or sets the value that indicates whether to handle a possible exception in place, or throw it up. |
Row | Gets the row of data item. |
This event is raised just before the GridDataItem.ItemData is updated with the new value.
You can set DataItemChangeEventArgs.Cancel to true to prevent data update. DataItemChangeEventArgs.ContinueEdit to true to prevent exit from edit mode.
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