InfoBar.ActionButton 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
public:
property ButtonBase ^ ActionButton { ButtonBase ^ get(); void set(ButtonBase ^ value); };
ButtonBase ActionButton();
void ActionButton(ButtonBase value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
ButtonBase ActionButton();
void ActionButton(ButtonBase value);
public ButtonBase ActionButton { get; set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
public ButtonBase ActionButton { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)] set; }
var buttonBase = infoBar.actionButton;
infoBar.actionButton = buttonBase;
Public Property ActionButton As ButtonBase
屬性值
InfoBar 的動作按鈕。 預設值為 null
。
- 屬性
-
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallbackAttribute
備註
HyperlinkButton 的前景色彩與目前主題中純文本的前景色彩相同。