Share via


ContentDialog.SecondaryButtonCommand Property

Definition

Gets or sets the command to invoke when the secondary button is tapped.

public:
 property ICommand ^ SecondaryButtonCommand { ICommand ^ get(); void set(ICommand ^ value); };
ICommand SecondaryButtonCommand();

void SecondaryButtonCommand(ICommand value);
public ICommand SecondaryButtonCommand { get; set; }
var iCommand = contentDialog.secondaryButtonCommand;
contentDialog.secondaryButtonCommand = iCommand;
Public Property SecondaryButtonCommand As ICommand
<ContentDialog SecondaryButtonCommand="commandReference"/>

Property Value

The command to invoke when the secondary button is tapped.

Applies to