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

属性值

Object

Platform::Object

IInspectable

辅助按钮的命令参数。 默认为 null

适用于