-api-id | -api-type |
---|---|
P:Windows.UI.Xaml.Controls.AppBarToggleButton.Icon |
winrt property |
Gets or sets the graphic content of the app bar toggle button.
<AppBarToggleButton Icon="symbolName" .../>
- or -
<AppBarToggleButton>
<AppBarToggleButton.Icon>
iconElement
</AppBarToggleButton.Icon>
</AppBarToggleButton>
- symbolName
- symbolNameA named constant of the Symbol enumeration.
- iconElement
- iconElementA single object element that derives from IconElement and describes the graphic content of the button. The object element is typically one of these classes: SymbolIcon, FontIcon, or PathIcon.