Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
142111 | Jan 21,2019 12:52 AM UTC | Jan 21,2019 03:53 PM UTC | WPF | 1 |
![]() |
Tags: SfDataGrid |
private void AssociatedObject_CopyGridCellContent(object sender, GridCopyPasteCellEventArgs e)
{
var copiedDataRow = this.AssociatedObject.RowGenerator.Items.FirstOrDefault(row => row.RowData == e.RowData) as DataRow;
//Row element of the copied row
var copiedRowElement = copiedDataRow.Element;
var copiedColumn = copiedDataRow.VisibleColumns.FirstOrDefault(col => col.GridColumn == e.Column);
//Column element of the copied cell
var copiedColumnElement = copiedColumn.ColumnElement;
} |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.