DataGridColumn.OnCopyingCellClipboardContent(Object) Method

Definition

Raises the CopyingCellClipboardContent event.

C#
public virtual object OnCopyingCellClipboardContent(object item);

Parameters

item
Object

The data context for the selected element.

Returns

An object that represents the content of the cell.

Remarks

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.

Applies to

Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9

See also