ContentDialog.PrimaryButtonCommand Property

Definition

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

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

void PrimaryButtonCommand(ICommand value);
public ICommand PrimaryButtonCommand { get; set; }
Public Property PrimaryButtonCommand As ICommand
<ContentDialog PrimaryButtonCommand="commandReference"/>

Property Value

ICommand

The command to invoke when the primary button is tapped.

Applies to