BCGControlBar Library for .NET
DataItemEndEdit Event




Raised when user has finished to edit GridDataItem.
Syntax
'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
Event Data

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.

PropertyDescription
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.
Remarks

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.

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

Reference

GridControl Class
GridControl Members

Send Feedback