GrapeCity.Win.MultiRow Namespace > GcMultiRow Class : UserDeletingRow Event |
<SRDescriptionAttribute("Occurs when a row is being deleted from the GcMultiRow control with a UI operation.")> <SRCategoryAttribute("Action")> Public Event UserDeletingRow As EventHandler(Of RowCancelEventArgs)
Dim instance As GcMultiRow Dim handler As EventHandler(Of RowCancelEventArgs) AddHandler instance.UserDeletingRow, handler
[SRDescription("Occurs when a row is being deleted from the GcMultiRow control with a UI operation.")] [SRCategory("Action")] public event EventHandler<RowCancelEventArgs> UserDeletingRow
The event handler receives an argument of type RowCancelEventArgs containing data related to this event. The following RowCancelEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Cancel | (Inherited from System.ComponentModel.CancelEventArgs) |
Row | Gets the Row that is involved. |
This event can be canceled to prevent row deletion from being completed. Select a Row and use Ctrl + Delete to delete this row, and this event is fired.
Used by the control to indicate when rows are being deleted, which allows you to update the data cache accordingly.
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