Skip to content

Line break in a Snackbar #3089

Closed Answered by Keboo
echdeneth asked this question in Q&A
Discussion options

You must be logged in to vote

There is an attached property that you can set on the Snackbar instance itself to control the maximum height on the messages.
If you want to allow for any height, you can set it to double.PositiveInfinity. Something like this:

<materialDesign:Snackbar materialDesign:SnackbarMessage.ContentMaxHeight="{x:Static sys:Double.PositiveInfinity}">
...
</materialDesign:Snackbar>

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by echdeneth
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants