Udostępnij za pośrednictwem


ContentDialog.SecondaryButtonCommandParameter Property

Definition

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

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

Platform::Object

IInspectable

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

Applies to