DataGridRowClipboardEventArgs.FormatClipboardCellValues Method (String)

.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.

Returns the ClipboardRowContent values as a string in the specified format.

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

public string FormatClipboardCellValues(
	string format
)

Parameters

format
Type: System.String

The data format in which to serialize the cell values.

Return Value

Type: System.String

The formatted string.

The DataGrid uses this method to format cell values before copying them to the Clipboard. This method supports the following data formats:

.NET Framework
Available since 4.0
Return to top
Show: