FlexGrid for WinForms
BeforeDeleteRow Event



Fires before a row is deleted by the user.
Syntax
'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
Remarks

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.

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

C1FlexGridBase Class
C1FlexGridBase Members

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Send Feedback