共用方式為


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

適用於