-api-id | -api-type |
---|---|
P:Microsoft.UI.Xaml.Controls.ContentDialog.SecondaryButtonCommand |
winrt property |
Gets or sets the command to invoke when the secondary button is tapped.
<ContentDialog SecondaryButtonCommand="commandReference"/>
- commandReference
- commandReferenceA reference to an ICommand implementation that describes the command logic. Typically this is done through a {Binding} markup extension reference to a data source, when using model-view-view model designs.
The command to invoke when the secondary button is tapped.