Sdílet prostřednictvím


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.

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Applies to