Udostępnij za pośrednictwem


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>

Applies to