InfoBar.Message 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
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
屬性值
InfoBar 的訊息。 預設為空字串。
- 屬性
-
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallbackAttribute