AppBarToggleButton.Icon Property

Definition

Gets or sets the graphic content of the app bar toggle button.

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

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

Property Value

The graphic content of the app bar toggle button.

Applies to

See also