ContentDialog.SecondaryButtonCommandParameter Property

Definition

Gets or sets the parameter to pass to the command for the secondary button.

Equivalent WinUI property: Microsoft.UI.Xaml.Controls.ContentDialog.SecondaryButtonCommandParameter.

public:
 property Platform::Object ^ SecondaryButtonCommandParameter { Platform::Object ^ get(); void set(Platform::Object ^ value); };
IInspectable SecondaryButtonCommandParameter();

void SecondaryButtonCommandParameter(IInspectable value);
public object SecondaryButtonCommandParameter { get; set; }
var object = contentDialog.secondaryButtonCommandParameter;
contentDialog.secondaryButtonCommandParameter = object;
Public Property SecondaryButtonCommandParameter As Object
<ContentDialog>
  <ContentDialog.SecondaryButtonCommandParameter>
    object
  </ContentDialog.SecondaryButtonCommandParameter>
</ContentDialog>
- or -
<ContentDialog SecondaryButtonCommandParameter="objectAsString"/>

Property Value

Object

The command parameter for the secondary button. The default is null.

Applies to