C1.Win.C1FlexGrid Namespace > C1FlexGridBase Class : BeforeDeleteRow Event |
'Declaration
<C1DescriptionAttribute("Fires before a row is deleted by the user.")> Public Event BeforeDeleteRow As RowColEventHandler
'Usage
Dim instance As C1FlexGridBase Dim handler As RowColEventHandler AddHandler instance.BeforeDeleteRow, handler
[C1Description("Fires before a row is deleted by the user.")] public event RowColEventHandler BeforeDeleteRow
[C1Description("Fires before a row is deleted by the user.")] public: event RowColEventHandler^ BeforeDeleteRow
This event only fires when AllowDelete is set to true and the user deletes one or more rows by selecting them and pressing the DEL key. It does not fire when rows are removed from the grid programmatically or through the grid's data source.
You can use this event to cancel the deletion of the rows by setting the Cancel parameter to true.
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