Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

AppBarButton.Icon Property

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Gets or sets the image displayed on the app bar button.

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

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

Property Value

The image displayed on the app bar button.

Applies to

See also


Feedback

Was this page helpful?