Replies: 2 comments
-
我也遇到了同样的问题,虽然我没有找到同类型的答案,但是我观察源码发现,可以针对“SnackbarPresenter”类型创建扩展方法show来实现这个功能。就像SnackbarServices中一样:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
我找了更好的方法,来实现我想要的效果,代码如下: 在你的自定义ContentDialog中修改TitleTemplate
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I have a Content Dialog opened and i want to show the snackbar. But since its designed to work on NavigationView.ContentOverlay it doesnt seem to show on top of my content dialog. I tried different things like playing with the Panel.ZIndex property and trying to make a ContentDialog.ContentOverlay etc. but it didnt work.
Appreciate a help.
Beta Was this translation helpful? Give feedback.
All reactions