Delen via


SymbolIcon.Symbol Property

Definition

Gets or sets the Segoe MDL2 Assets glyph used as the icon content.

public:
 property Symbol Symbol { Symbol get(); void set(Symbol value); };
Symbol Symbol();

void Symbol(Symbol value);
public Symbol Symbol { get; set; }
var symbol = symbolIcon.symbol;
symbolIcon.symbol = symbol;
Public Property Symbol As Symbol
<SymbolIcon Symbol="symbolName"/>

Property Value

A named constant of the numeration that specifies the Segoe MDL2 Assets glyph to use.

Examples

<AppBarButton Label="Accept">
    <AppBarButton.Icon>
        <SymbolIcon Symbol="Accept"/>
    </AppBarButton.Icon>
</AppBarButton>

Remarks

Notes for previous versions

Windows 8.x On Windows 8, the standard glyphs are provided by the Segoe UI Symbol font.

Applies to