共用方式為


ContentDialog.SecondaryButtonStyle 屬性

定義

取得或設定要套用至對話框次要按鈕的樣式。

public:
 property Style ^ SecondaryButtonStyle { Style ^ get(); void set(Style ^ value); };
Style SecondaryButtonStyle();

void SecondaryButtonStyle(Style value);
public Style SecondaryButtonStyle { get; set; }
var style = contentDialog.secondaryButtonStyle;
contentDialog.secondaryButtonStyle = style;
Public Property SecondaryButtonStyle As Style
<contentDialog CloseButtonStyle="{StaticResource styleResourceKey}"//>

屬性值

如果存在,則為按鈕套用的樣式;否則為 null

適用於