Share via

MessageDialog.Content Property


Gets or sets the message to be displayed to the user.

 property Platform::String ^ Content { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring Content();

void Content(winrt::hstring value);
public string Content { get; set; }
var string = messageDialog.content;
messageDialog.content = string;
Public Property Content As String

Property Value




The message to be displayed to the user.


Use the content to convey the objective of the dialog. Present the message, error or blocking question as simply as possible without extraneous information.

When a title is used, use the content to present additional information helpful to understanding or using the dialog. You can use this area to provide more detail or define terminology. Don't repeat the title with slightly different wording.

Applies to

See also