Edit

Share via


DataGrid.OnCopyingRowClipboardContent(DataGridRowClipboardEventArgs) Method

Definition

Raises the CopyingRowClipboardContent event.

protected:
 virtual void OnCopyingRowClipboardContent(System::Windows::Controls::DataGridRowClipboardEventArgs ^ args);
protected virtual void OnCopyingRowClipboardContent (System.Windows.Controls.DataGridRowClipboardEventArgs args);
abstract member OnCopyingRowClipboardContent : System.Windows.Controls.DataGridRowClipboardEventArgs -> unit
override this.OnCopyingRowClipboardContent : System.Windows.Controls.DataGridRowClipboardEventArgs -> unit
Protected Overridable Sub OnCopyingRowClipboardContent (args As DataGridRowClipboardEventArgs)

Parameters

args
DataGridRowClipboardEventArgs

The data for the event.

Remarks

This method prepares the clipboard content for each selected row before the CopyingRowClipboardContent event is raised. The value of the ClipboardCopyMode property specifies whether the column header content is prepared in addition to the row content.

Applies to