Share via


AppBarToggleButton.Icon 屬性

定義

取得或設定應用程式行切換按鈕的圖形內容。

public:
 property IconElement ^ Icon { IconElement ^ get(); void set(IconElement ^ value); };
IconElement Icon();

void Icon(IconElement value);
public IconElement Icon { get; set; }
var iconElement = appBarToggleButton.icon;
appBarToggleButton.icon = iconElement;
Public Property Icon As IconElement
<AppBarToggleButton Icon="symbolName" .../>
- or -
<AppBarToggleButton>
    <AppBarToggleButton.Icon>
        iconElement
    </AppBarToggleButton.Icon>
</AppBarToggleButton>

屬性值

應用程式行切換按鈕的圖形內容。

適用於

另請參閱