-api-id | -api-type |
---|---|
P:Windows.UI.Xaml.Controls.ContentDialog.PrimaryButtonCommand |
winrt property |
Gets or sets the command to invoke when the primary button is tapped.
<ContentDialog PrimaryButtonCommand="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.