简体   繁体   中英

MahApps Show SimpleChildWindow using MVVM

有什么方法可以在MahApps中显示一个简单的子窗口,我们如何显示对话框(使用DialogCoordinator)?

Not at this time, use this:

  private async void show()
        {
            await ((MahApps.Metro.Controls.MetroWindow)Application.Current.MainWindow).ShowChildWindowAsync(new SampleChildWindow());
        }

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