MenuFlyoutItem.Icon Property

Definition

Gets or sets the graphic content of the menu flyout item.

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

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

Property Value

The graphic content of the menu flyout item.

Applies to