Share via


MenuFlyoutSubItem.Icon Property

Definition

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

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

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

Property Value

The graphic content of the menu flyout subitem.

Applies to