Share via


InfoBar.ActionButton 屬性

定義

取得或設定 InfoBar 的動作按鈕。

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 的前景色彩與目前主題中純文本的前景色彩相同。

適用於