ContentDialog.CloseButtonCommandParameter 属性

定义

获取或设置要传递给关闭按钮的命令的参数。

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"/>

属性值

Object

Platform::Object

IInspectable

要传递给关闭按钮的命令的参数。 默认为 null

适用于