officefileapi-devexpress-dot-xtraspreadsheet-b66e3d10.md
A method that handles the SpreadsheetControl’s BeforeDropRange event.
Namespace : DevExpress.XtraSpreadsheet
Assembly : DevExpress.Spreadsheet.v25.2.Core.dll
NuGet Package : DevExpress.Spreadsheet.Core
public delegate void BeforeDropRangeEventHandler(
object sender,
BeforeDropRangeEventArgs e
);
Public Delegate Sub BeforeDropRangeEventHandler(
sender As Object,
e As BeforeDropRangeEventArgs
)
| Name | Type | Description |
|---|---|---|
| sender | Object |
The event source. This parameter identifies the SpreadsheetControl that raised the event.
| | e | BeforeDropRangeEventArgs |
An object that contains event data.
|
When you create a BeforeDropRangeEventHandler delegate, you identify the method that handles the corresponding event. To associate the event with your event handler, add a delegate instance to this event. The event handler is called whenever the event occurs, unless you remove the delegate. For more information about event handler delegates, see the following topic: Handle and Raise Events.
See Also