ContentDialog.PrimaryButtonCommand Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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; }
var iCommand = contentDialog.primaryButtonCommand;
contentDialog.primaryButtonCommand = iCommand;
Public Property PrimaryButtonCommand As ICommand
<ContentDialog PrimaryButtonCommand="commandReference"/>
Property Value
The command to invoke when the primary button is tapped.