punker76 / MahApps.Metro.SimpleChildWindow

A simple child window for MahApps.Metro
MIT License
374 stars 55 forks source link

(GH-74) Fix ChildWindow moving issue #96

Closed punker76 closed 4 years ago

punker76 commented 4 years ago

When VerticalContentAlignment is set to Bottom and AllowMove to true then the ChildWindow can be moved only to the maximum half of parent.

Use now VisualTreeHelper.GetOffset to fix this.

Closes #74