Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
OnCopyingCellClipboardContent Method

DataGridColumn.OnCopyingCellClipboardContent Method

.NET Framework 4.6 and 4.5

Raises the CopyingCellClipboardContent event.

Namespace:  System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

public virtual Object OnCopyingCellClipboardContent(
	Object item


Type: System.Object

The data context for the selected element.

Return Value

Type: System.Object
An object that represents the content of the cell.

This method is called for each selected cell to retrieve the default cell content. It then raises the CopyingCellClipboardContent event. You can handle the event to modify the cell content before it is returned.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
© 2015 Microsoft