Share via


InfoBar.ActionButton Property

Definition

Gets or sets the action button of the 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

Property Value

The action button of the InfoBar. The default is null.

Attributes
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallbackAttribute

Remarks

Foreground color of a HyperlinkButton is the same as the foreground color of plain text in the current theme.

Applies to