locked
Can you have more then one line in one DisplayAlert? RRS feed

  • Question

  • User342744 posted

    So i have this code and i was thinking about if you can have more then one line of text?

    await DisplayAlert("Contact","Name: " + Contact.Fullname, "Close");

    Thursday, August 17, 2017 9:48 AM

Answers

  • User318788 posted

    @LoLeH ,

    Try using escape sequences like \n or C# 's Environment.NewLine

    Hope it helps.

    Regards, N Baua

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Thursday, August 17, 2017 10:03 AM

All replies

  • User318788 posted

    @LoLeH ,

    Try using escape sequences like \n or C# 's Environment.NewLine

    Hope it helps.

    Regards, N Baua

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Thursday, August 17, 2017 10:03 AM
  • User155195 posted

    Environment.NewLine ! :)

    Thursday, April 8, 2021 1:21 PM