Mir*_*rko 5 c# wpf github-for-windows mahapps.metro
是否可以在Mahapps Metro中显示标准消息对话框,MetroWindow
就像Github for Windows应用程序一样?我想通知用户有关异常的信息,但无需在他/她继续使用该应用程序之前关闭此对话框.
到目前为止,我使用以下代码打开消息对话框,但这是一种阻止方式,它出现在以下位置的中心MetroWindow
:
await this.ShowMessageAsync("My title", "My error message");
Run Code Online (Sandbox Code Playgroud)
我想创建一个Github for Windows
类似的对话框.你可以在这里看到截图:
在Github for Windows
您可以撤消任何操作,但此消息只出现几秒钟,比自动皮.
您要查找的不是对话框,而是属性设置为的Flyout控件。Position
Bottom
另请参阅 GitHub 存储库上的此讨论:https : //github.com/MahApps/MahApps.Metro/issues/1352
归档时间: |
|
查看次数: |
2505 次 |
最近记录: |