Share via


InfoBar.Message Property

Definition

Gets or sets the message of the InfoBar.

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

void Message(winrt::hstring value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
winrt::hstring Message();

void Message(winrt::hstring value);
public string Message { get; set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
public string Message { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)] set; }
var string = infoBar.message;
infoBar.message = string;
Public Property Message As String

Property Value

String

Platform::String

winrt::hstring

The message of the InfoBar. The default is an empty string.

Attributes
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallbackAttribute

Applies to