//--------------------------------------------------------------------------- // // Copyright (C) Microsoft Corporation. All rights reserved. // //--------------------------------------------------------------------------- using System; using System.Collections.Generic; using System.Text; namespace ExtendedGrid.Microsoft.Windows.Controls { /// /// This class encapsulates a cell information necessary for CopyingCellClipboardContent and PastingCellClipboardContent events /// public class DataGridCellClipboardEventArgs : EventArgs { /// /// Construct DataGridCellClipboardEventArgs object /// /// /// /// public DataGridCellClipboardEventArgs(object item, DataGridColumn column, object content) { _item = item; _column = column; _content = content; } /// /// Content of the cell to be set or get from clipboard /// public object Content { get { return _content; } set { _content = value; } } /// /// DataGrid row item containing the cell /// public object Item { get { return _item; } } /// /// DataGridColumn containing the cell /// public DataGridColumn Column { get { return _column; } } private object _content; private object _item; private DataGridColumn _column; } }