Remarks
The most common way to specify the icon for an app bar button is to use one of the standard glyphs provided by the Segoe MDL2 Assets font, as specified in the Symbol enumeration. You can use a SymbolIcon by setting the Icon property of an AppBarButton directly to a value of the Symbol enumeration.
Examples
This example shows two ways to use a SymbolIcon an AppBarButton. The second button icon has its Foreground set to "Green".
<AppBarButton Icon="Like" Label="Like"/>
<AppBarButton Label="Accept">
<AppBarButton.Icon>
<SymbolIcon Symbol="Accept" Foreground="Green"/>
</AppBarButton.Icon>
</AppBarButton>
Constructors
SymbolIcon()
Initializes a new instance of the SymbolIcon class.
SymbolIcon(Symbol)
Initializes a new instance of the SymbolIcon class using the specified symbol.
来自 <https://docs.microsoft.com/en-us/uwp/api/Windows.UI.Xaml.Controls.SymbolIcon>
来自 <https://docs.microsoft.com/en-us/uwp/api/Windows.UI.Xaml.Controls.SymbolIcon>