We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6e0fea5 + 3ec17bd commit eb656faCopy full SHA for eb656fa
1 file changed
WindowsPathEditor/DragDropListBox/DraggedAdorner.cs
@@ -35,7 +35,7 @@ public void SetPosition(double left, double top)
35
// near the mouse cursor when dragging.
36
this.left = left - 1;
37
this.top = top + 13;
38
- if (this.adornerLayer != null)
+ if (this.adornerLayer != null && this.contentPresenter.Content != null)
39
{
40
this.adornerLayer.Update(this.AdornedElement);
41
}
0 commit comments