can snackbar show in top of window? #2768
-
In the demo, the snackbar appears from the bottom of the window |
Beta Was this translation helpful? Give feedback.
Answered by
Keboo
Jul 8, 2022
Replies: 1 comment 1 reply
-
Yes, this is possible. The location where the For example, if the root control in your Window is a <Window>
<DockPanel>
<materialDesign:Snackbar
MessageQueue="{materialDesign:MessageQueue}"
DockPanel.Dock="Top"/>
</DockPanel>
</Window> |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ElieTaillard
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, this is possible. The location where the
Snackbar
appears is determined by where you place theSnackbar
control within your XAML.For example, if the root control in your Window is a
DockPanel
, something like this will cause theSnackbar
to be placed at the top.