Поделиться через


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

Значение свойства

Кнопка действия панели сведений. Значение по умолчанию — null.

Атрибуты
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallbackAttribute

Комментарии

Цвет переднего плана элемента HyperlinkButton совпадает с цветом переднего плана обычного текста в текущей теме.

Применяется к