简体   繁体   中英

MahApps window move on mouse left-click

I am using Mahapps window in wpf application. I have drooped on the layout two controls: a Treeview and Listview however I am seeing an unwanted behavior, which is when I left-click and hold on free space on both controls (just bellow some entries) I can drag a window anywhere on the screen. Is there a way to disable that functionality? thank you

There will be no option to disable the functionality of mahapps window. Its better you write your own window(as borderlesswindow) and inherit styles from Mahapps.metro.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM