DataGridColumn.OnCopyingCellClipboardContent(Object) Methode
Definition
Löst das CopyingCellClipboardContent-Ereignis aus.Raises the CopyingCellClipboardContent event.
public:
virtual System::Object ^ OnCopyingCellClipboardContent(System::Object ^ item);
public virtual object OnCopyingCellClipboardContent (object item);
abstract member OnCopyingCellClipboardContent : obj -> obj
override this.OnCopyingCellClipboardContent : obj -> obj
Public Overridable Function OnCopyingCellClipboardContent (item As Object) As Object
Parameter
- item
- Object
Der Datenkontext für das ausgewählte Element.The data context for the selected element.
Gibt zurück
Ein Objekt, das den Inhalt der Zelle darstellt.An object that represents the content of the cell.
Hinweise
Diese Methode wird für jede ausgewählte Zelle aufgerufen, um den Standardzellen Inhalt abzurufen.This method is called for each selected cell to retrieve the default cell content. Anschließend wird das CopyingCellClipboardContent -Ereignis ausgelöst.It then raises the CopyingCellClipboardContent event. Sie können das-Ereignis behandeln, um den Zellen Inhalt zu ändern, bevor er zurückgegeben wird.You can handle the event to modify the cell content before it is returned.