共用方式為


DataGridColumn.PastingCellClipboardContent 事件

定義

發生在將 [剪貼簿] 內容移至儲存格之前。

public:
 event EventHandler<System::Windows::Controls::DataGridCellClipboardEventArgs ^> ^ PastingCellClipboardContent;
public event EventHandler<System.Windows.Controls.DataGridCellClipboardEventArgs> PastingCellClipboardContent;
member this.PastingCellClipboardContent : EventHandler<System.Windows.Controls.DataGridCellClipboardEventArgs> 
Public Custom Event PastingCellClipboardContent As EventHandler(Of DataGridCellClipboardEventArgs) 
Public Event PastingCellClipboardContent As EventHandler(Of DataGridCellClipboardEventArgs) 

事件類型

EventHandler<DataGridCellClipboardEventArgs>

備註

事件處理常式可以在儲存在儲存格內容之前修改剪貼簿內容。

適用於