internal void UpdateSource(IDragEventSource src) { if (src.Id != SourceId) { throw new InvalidOperationException("Cannot change the source id of pending drag operation"); } _source = src; (Position, Modifiers) = src.GetState(); }
internal CoreDragInfo( IDragEventSource source, DataPackageView data, DataPackageOperation allowedOperations, object?dragUI = null) { _source = source; (Position, Modifiers) = source.GetState(); Data = data; AllowedOperations = allowedOperations; DragUI = dragUI; }