Delen via


ContentDialog.CloseButtonCommandParameter Property

Definition

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

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

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

Property Value

Object

Platform::Object

IInspectable

The parameter to pass to the command for the close button. The default is null.

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Applies to