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。

適用於