How to modify styling of MessagePrompt title?

Dec 15, 2014 at 2:56 PM
Hi!

I'm working in a project where we are using the MessagePrompt to display popups. I've run into an issue where depending on localization we have very lengthy titles.

The default styling for the title TextBlock has TextWrapping but what I'd love to do is to have e.g. a ViewBox which stretches the text to fit the width of the popup.

Is it possible to somehow modify the styling of this title?
Coordinator
Dec 15, 2014 at 4:42 PM
just override the style for MessagePrompt. these were designed back in the day with how WinRT design would act.

I would actually advice against doing a viewbox. the text could be too small at that point to be helpful. I would suggest finding better phrasing as titles are supposed to be pointed and brief.
  • clint
Marked as answer by Delodax on 12/16/2014 at 2:52 AM
Dec 16, 2014 at 9:52 AM
crutkas wrote:
just override the style for MessagePrompt. these were designed back in the day with how WinRT design would act.

I would actually advice against doing a viewbox. the text could be too small at that point to be helpful. I would suggest finding better phrasing as titles are supposed to be pointed and brief.
  • clint
Ok, I'll look into that then. Thanks for your reply!