您好,我这里测试剪切是会触发事件的
- private void FpSpread1_ClipboardPasted(object sender, FarPoint.Win.Spread.ClipboardPastedEventArgs e)
- {
- var range = e.CellRange;
- for(var i = 0; i < range.RowCount; i++)
- {
- for (var j = 0; j < range.ColumnCount; j++)
- {
- fpSpread1.ActiveSheet.Cells[range.Row + i, range.Column + j].Text = fpSpread1.ActiveSheet.Cells[range.Row + i, range.Column + j].Text.ToLower();
- }
- }
- }
复制代码 |