The event handler receives an argument of type SheetDragMovingEventArgs containing data related to this event. The following SheetDragMovingEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Cancel | Gets or sets whether to cancel the sheet drag and move action. |
Restrict | Gets or sets whether to allow the sheet to be moved to the ToSheetIndex location. |
SheetIndex | Gets the index of the sheet that is being moved. |
ToSheetIndex | Gets the index of the new position where the sheet is being moved. |