DataGridColumn.OnCopyingCellClipboardContent Method (Object)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Raises the CopyingCellClipboardContent event.

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

public virtual object OnCopyingCellClipboardContent(
	object item
)

Parameters

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
Available since 4.0
Return to top
Show: