Factor out the HitTestBehavior logic so that RenderMetaData can use it. Use that in DragTarget.
Attach a file by drag & drop or click to upload