AppBarButton.Icon 屬性

定義

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

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

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

屬性值

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

適用於

另請參閱