protected override void OnCopyingRowClipboardContent(DataGridRowClipboardEventArgs args) { Clipboard.SetText("Abc-hello"); bool b1 = Clipboard.ContainsText(); string s1 = Clipboard.GetText(); }
static void dataGrid_CopyingRowClipboardContent(object sender, DataGridRowClipboardEventArgs e) { e.ClipboardRowContent.Clear(); e.ClipboardRowContent.Add(new DataGridClipboardCellContent(e.Item, (sender as DataGrid).Columns[0], "Abc-hello")); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)