DataGridColumn.OnCopyingCellClipboardContent(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
See also
Співпраця з нами на GitHub
Джерело цього вмісту можна знайти на GitHub, де також можна створювати й переглядати запитання та запити на внесення змін. Докладні відомості наведено в нашому посібнику для співавторів.