共用方式為


ContentDialog.PrimaryButtonStyleProperty 屬性

定義

取得 PrimaryButtonStyle 相依性屬性的識別碼。

public:
 static property DependencyProperty ^ PrimaryButtonStyleProperty { DependencyProperty ^ get(); };
static DependencyProperty PrimaryButtonStyleProperty();
public static DependencyProperty PrimaryButtonStyleProperty { get; }
var dependencyProperty = ContentDialog.primaryButtonStyleProperty;
Public Shared ReadOnly Property PrimaryButtonStyleProperty As DependencyProperty

屬性值

PrimaryButtonStyle 相依性屬性的識別碼。

Windows 需求

裝置系列
Windows 10 Creators Update (已於 10.0.15063.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v4.0 引進)

適用於