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

适用于