You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 8, 2023. It is now read-only.
It would be nice to have multiline text in the <TaskDialog.Content> and <TaskDialogButton.Description> elements. A nice XAML-esque way would be something like this:
<TaskDialog.Content>
<TaskDialogText>
<TaskDialogRun>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
eiusmod tempor incididunt ut labore et dolore magna aliqua.
</TaskDialogRun>
<TaskDialogLineBreak />
<TaskDialogRun>
Ut enim ad minim veniam, quis nostrud exercitation ullamco
laboris nisiut aliquip ex ea commodo consequat. Duis aute
irure dolor in reprehenderit in voluptate velit esse cillum
dolore eu fugiat nulla pariatur. Excepteur sint
cupidatat non proident, sunt in culpa qui officia deserunt
mollit anim id est laborum.
</TaskDialogRun>
</TaskDialogText>
</TaskDialog.Content>
(Notice the <TaskDialogLineBreak /> element.)
As an alternative, I can use xml:space="preserve":
<TaskDialog.Content>
<TaskDialogText>
<TaskDialogRunxml:space="preserve">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisiut aliquip ex ea commodo consequat. Duis auteirure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</TaskDialogRun>
</TaskDialogText>
</TaskDialog.Content>
However, this makes the markup less readable.
(It also doesn't appear to work on a TaskDialogButton. I haven't found a way to make a multi-line description of command buttons.)
It would be nice to have multiline text in the
<TaskDialog.Content>and<TaskDialogButton.Description>elements. A nice XAML-esque way would be something like this:(Notice the
<TaskDialogLineBreak />element.)As an alternative, I can use
xml:space="preserve":However, this makes the markup less readable.
(It also doesn't appear to work on a
TaskDialogButton. I haven't found a way to make a multi-line description of command buttons.)