public DropController(AgDataGrid dataGrid, FrameworkElement dropContainer, Canvas dragSurface) { this._dataGrid = dataGrid; if (this._dataGrid != null) { _dataGrid.DataRowCreated += new DataRowCreatedEventHandler(OnNewDataRow); this._dataGrid.MouseMove += new MouseEventHandler(OnMouseMove); this._dataGrid.MouseLeftButtonUp += new MouseButtonEventHandler(OnMouseLeftButtonUp); } this._dragSurface = dragSurface; this._dropContainer = dropContainer; }
public DragObject(AgDataGridRow row, object dataRow, AgDataGrid source) { this.source = source; this.row = row; this.dataRow = dataRow; }