ContentDialog.CloseButtonCommand ContentDialog.CloseButtonCommand ContentDialog.CloseButtonCommand ContentDialog.CloseButtonCommand Property

Definition

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

public : ICommand CloseButtonCommand { get; set; }
ICommand CloseButtonCommand();

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

Property Value

ICommand ICommand

The command to invoke when the primary button is tapped.

Additional features and requirements

Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)